react-apollo-hooks
react-apollo-hooks copied to clipboard
Use Apollo Client as React hooks
hi. I use react-apollo-hook insert of HOC apollo client I found problem when apollo server throw error code like 400,500 apollo client will receive message but not access error data,code...
fixes #74
For example: ```ts import { ApolloClient } from 'apollo-client' const httpLink = createUploadLink({ uri: GRAPHQL_URL, }) const cache = new InMemoryCache() export const client = new ApolloClient({ link: ApolloLink.from([httpLink]), cache,...
I have a component with a data list. Also, I have another with mutation for item element. After the update, cached is updated, but list stays not update until rerender...
Is it possible to call a useMutation in the onSubmit of a formik form?
Ohi there, So, can i ask a favour? I support this apollo mocking library called [graphql-mock](https://github.com/MadRabbit/graphql-mock), which we use quite a bit in our work. It's sort like `nock` but...
Thanks to that previous value of `data` is shown while loading new one and `networkStatus` should have a correct value in that case BREAKING CHANGE: previous value of `data` is...
I have a statically exported next.js app where, for instance, the home page has a query to fetch and render content. The static render works fine for the export, and...
... but it works okay if it is set to an empty object (`{}`). Issues that happen when you do `variables: {}`: 1. https://github.com/trojanowski/react-apollo-hooks/issues/140 2. Our case: Have a hook...
Is there any usage example for this with redux? Looking at the guide at https://dev.to/markusclaus/fetching-data-from-an-api-using-reactredux-55ao I'm trying to get the benefits of react-apollo hooks + code generation together with redux...