react-apollo-hooks
react-apollo-hooks copied to clipboard
Use Apollo Client as React hooks
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. Commits 6370e90 Mark version 5.7.4 fbc15b1 More rigorously check surrogate pairs in regexp validator See full diff in compare view [](https://help.github.com/articles/configuring-automated-security-fixes) Dependabot...
Code sandbox example: https://codesandbox.io/s/react-apollo-hooks-infinite-loop-irkwf tl;dr ``` const { data, error, loading, refetch } = useQuery(GET_DOGS, { suspend: false, // necessary for my use case, since I need an updated `loading`...
I've got queries and mutations working as hooks, and the mutations are even updating the cache correctly. However, the components using the updated queries get a stale result on the...
not sure if this is a bug, or just improper usage, but either way I wanted to open up an issue since it took me a bit to figure out...
The partialRefetch option is not available at the moment. Would it be possible to make it available? More information here: https://www.apollographql.com/docs/react/essentials/queries
It seems like even when I'm using `network-only` that data from the cache is being returned immediately. I would have expected that the rendering phases would be: ```ts { data:...
There seems to be a problem with `react-apollo-hooks` in that the response is correct but when I print out the `data` object in `useQuery` its incorrect. Anyone any clues as...
I am using 'apollo-link-error' to centrally log errors to the console. But I wanted to also from that same location in the code, use 'react-toast-notifications' to render an error message...
Can anyone explain how this works, I found my error but I don't really understand how it all works, I wanted to pass the current date to the useQuery as...