react-apollo-hooks icon indicating copy to clipboard operation
react-apollo-hooks copied to clipboard

Use Apollo Client as React hooks

Results 97 react-apollo-hooks issues
Sort by recently updated
recently updated
newest added

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...

dependencies

I have an initial `usePaginatedQuery` which gives me an array of ids: ``` const { resolvedData: policies, isLoading, isError, } = usePaginatedQuery( [`policies`], () => { return axios.get(`/v1/policies?page=${page}`); }, {...

We can see by the code that the useSubscription should unsubscribe to the graphql subscription by it self https://github.com/trojanowski/react-apollo-hooks/blob/master/src/useSubscription.ts#L96 But... on page refresh it seens to be Duplicated, and I...

Hello. I've been using this project in a production level and things have gone good so far. But I've stuck into some problems when I try to write tests to...

Bumps [standard-version](https://github.com/conventional-changelog/standard-version) from 4.4.0 to 8.0.1. Release notes Sourced from standard-version's releases. standard-version v8.0.1 Bug Fixes deps: update dependency conventional-changelog to v3.1.21 (#586) (fd456c9) deps: update dependency conventional-changelog-conventionalcommits to v4.3.0...

dependencies

Hi guys, I recently upgraded to [email protected] and have this react warning showing up every time a mutation is completed. `Warning: Can't perform a React state update on an unmounted...

I am using **next.js** with Apollo, and have been writing Hooks based components. I noticed **react-apollo-hooks** doesn't seem to work with **getDataFromTree** when it does SSR and fills the cache....

Is it possible to modify the hook implementation to allow access to context variables during mutation? Is there a way I can do this without modifying the hook implementation?

Testing the useSubscription hook I'm finding a bit difficult, since the method is omitted/not documented on the [Apollo docs](https://www.apollographql.com/docs/react/development-testing/testing/#testing-mutation-components) (at time of writing). Presumably, it should be mocked using the...

**To reproduce** ``` const {refetch, data} = useQuery(myQuery, {skip: true}) refetch().then(refetchResponse => console.log(refetchResponse.data)) ``` **What happens?** 1. A network request is made but `data` remains `undefined` 2. `refetchResponse.data` contains the...