apollo-client
apollo-client copied to clipboard
:rocket: A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
### Issue Description Hi! We are getting these error randomly: ```js // node_modules/@apollo/client/react/hooks/useQuery.js in InternalState.prototype.toQueryResult at line 440:27 InternalState.prototype.toQueryResult = function (result) { var queryResult = this.toQueryResultCache.get(result); if (queryResult) return...
X-linking to issue https://github.com/apollographql/apollo-client/issues/12069
### Issue Description Hi. I believe I found a bug in `ObservaleQuery.subscribe`. I'm attaching a [CodeSandbox repro](https://codesandbox.io/p/devbox/tender-framework-68wm4d?workspaceId=7e27fe59-1d44-40f8-b1d0-beb23c6580e8), but it's essentially this code: ```typescript const observable = client.watchQuery({ query: ALL_PEOPLE, notifyOnNetworkStatusChange:...
Hi there, we upgraded to 3.11 in prod and had to revert since users were hitting extremely slow performance when making large queries. On investigation, users are exceeding the 50,000...
Opening a PR to generate a snapshot release of the client that will be used for a talk by Jerel and Alessia.
Hi i am using `@apollo/client` on version `^3.7.0` but i found this issue also on `^3.6.8` I found that fetchPolicy in `client.query` is ignored, if i use `defaultOptions` when creating...
**Intended outcome:** I'm using `useQuery` to query and render some data. The `loading` prop works as expected, the value is `true` and then changes to `false`. When loading is false,...
### Issue Description If you have some code running outside of an apollo context like this: ``` useSuspenseQuery(myQuery, { skip: true, client: myClientInstance }); ``` that seems to work mostly...
### Issue Description In Apollo Client 3.8, the behavior changed such that onCompleted is no longer called when another component triggers a refetch of the corresponding query. In versions
### Issue Description I'm pretty sure this is a bug with `skip: true`, or at least `skipToken` behaves like I'd expect. If you have a `useSuspenseQuery` that uses `skip: boolean`...