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

Hi guys, I want to do something after each polling but couldn't find how to use onCompleted: onCompleted: (data: TData | {}) => void A callback executed once your query...

I'm attempting to perform a mutation when a specific route is hit in my application. When using useEffect and passing through a mutation method as a dependancy, it enters an...

Is it normal with this new hooks api to re-render a component multiple times? I just saw that `useQuery` causes a component to re-render 3 times. Here is an example:...

Bumps [trim-off-newlines](https://github.com/stevemao/trim-off-newlines) from 1.0.1 to 1.0.3. Commits c3b28d3 1.0.3 6226c95 Merge pull request #4 from Trott/fix-it-again c77691d fix: remediate ReDOS further 76ca93c chore: pin mocha to version that works with...

dependencies

Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3. Release notes Sourced from ws's releases. 5.2.3 Bug fixes Backported 00c425ec to the 5.x release line (76d47c14). Commits 6dd88e7 [dist] 5.2.3 76d47c1 [security] Fix...

dependencies

How would you call two useQuery hooks, but the second one should wait for the first one to return some data because we need to pass that data as a...

Bumps [async](https://github.com/caolan/async) from 2.6.2 to 2.6.4. Changelog Sourced from async's changelog. v2.6.4 Fix potential prototype pollution exploit (#1828) v2.6.3 Updated lodash to squelch a security warning (#1675) Commits c6bdaca Version...

dependencies

Is there any way to use multiple queries before a component render inside the component itself? _Originally posted by @SalmanTahir7 in https://github.com/trojanowski/react-apollo-hooks/issues/158#issuecomment-989145001_

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.1 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@​ChALkeR). Fix boolean schemas with strictKeywords...

dependencies

Started fiddeling with this package and it looks really awsome. I am trying to understand how to automatically refetch when variables changes in a useQuery hook. I don't know if...