apollo-client
apollo-client copied to clipboard
:rocket: ย A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
the updateQuery function under queryResults reported an incorrect signature, making it seem like it had two parameters when it really has a single function (with two params) as a parameter....
The function signature in the documentation for updateQuery says it takes 2 parameters and returns TData `(previousResult: TData, options: { variables: TVariables }) => TData` https://www.apollographql.com/docs/react/api/react/hooks/#updatequery However in the code...
Like the [Release 3.6.0 PR](https://github.com/apollographql/apollo-client/pull/9067), this PR will serve to collect significant new features, deprecation warnings, and minor breaking changes that we intend to release in `@apollo/[email protected]`. If you want...
Gets rid of some conditional require()s from getDataFromTree and renderToStringWithData, which won't get bundled properly by webpack. Looks like bundlesize stays at 29.6 with this change ### Checklist: See https://github.com/apollographql/apollo-client/issues/9952...
Broken out from: https://github.com/apollographql/apollo-client/issues/8245 Now that `@apollo/client` 3.6 is out with updated React 18 support, this issue will track Apollo Client's React suspense + data fetching support (coming in 3.7).
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [rollup](https://rollupjs.org/) ([source](https://togithub.com/rollup/rollup)) | [`2.77.0` -> `2.77.3`](https://renovatebot.com/diffs/npm/rollup/2.77.0/2.77.3) |...
**Intended outcome:** When using the `useSubscription` hook, I want the hook to return all events visible in the Network WS Tab. **Actual outcome:** When using the new Client Rendering API...
I'm not 100% sure whether this is a valid use case for `useLazyQuery()`, but I still think this new behaviour is not intended because of the following reasons: * The...
Add & export `ModifierUtility` type for `details` parameter of `Modifier` function to enable use for typing in consuming projects. Presently, the in-line typing prevents import in dependent projects to properly...
**Intended outcome:** Calling getObservableQueries via the client should not result in warnings if some of the included queries are missing. Calling this method directly is useful to check if a...