You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
keep ObservableQuery initiated from useQuery inactive before first subscription (#12285)
* experiment: keep ObservableQuery initiated from `useQuery` inactive before first subscription
* changeset
* different handling during SSR
* adjust test
* use a slot instead of a config option
* chores
* change to `private` property
* remove unnecessary condition
* appease linter
* rename `getQuery` to `getOrCreateQuery`, call `this.queries.get` where not needed
* adjust test
* chores
* remove unused import
* Update src/react/hoc/__tests__/queries/lifecycle.test.tsx
Co-authored-by: Jerel Miller <[email protected]>
* Update src/core/__tests__/ApolloClient/general.test.ts
Co-authored-by: Jerel Miller <[email protected]>
---------
Co-authored-by: Jerel Miller <[email protected]>
// src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeySpecifier" needs to be exported by the entry point index.d.ts
2534
2534
// src/cache/inmemory/policies.ts:162:3 - (ae-forgotten-export) The symbol "KeyArgsFunction" needs to be exported by the entry point index.d.ts
2535
2535
// src/cache/inmemory/types.ts:139:3 - (ae-forgotten-export) The symbol "KeyFieldsFunction" needs to be exported by the entry point index.d.ts
2536
-
// src/core/ObservableQuery.ts:118:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
2537
-
// src/core/ObservableQuery.ts:119:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts
2536
+
// src/core/ObservableQuery.ts:128:5 - (ae-forgotten-export) The symbol "QueryManager" needs to be exported by the entry point index.d.ts
2537
+
// src/core/ObservableQuery.ts:129:5 - (ae-forgotten-export) The symbol "QueryInfo" needs to be exported by the entry point index.d.ts
2538
2538
// src/core/QueryManager.ts:159:5 - (ae-forgotten-export) The symbol "MutationStoreValue" needs to be exported by the entry point index.d.ts
2539
2539
// src/core/QueryManager.ts:414:7 - (ae-forgotten-export) The symbol "UpdateQueries" needs to be exported by the entry point index.d.ts
2540
2540
// src/link/http/selectHttpOptionsAndBody.ts:128:32 - (ae-forgotten-export) The symbol "HttpQueryOptions" needs to be exported by the entry point index.d.ts
0 commit comments