Top "React-apollo" questions

React Apollo allows you to fetch data from your GraphQL server and use it in building complex and reactive UIs using the React framework.

Do I need to bind to a component to use the apollo react client even if it has no UI?

I'm doing some business logic around an implementation of the Auth0 lock widget and need to call some graphql mutations …

react-apollo
How to execute an async fetch request and then retry last failed request?

Apollo link offers an error handler onError Issue: Currently, we wish to refresh oauth tokens when they expires during an …

apollo react-apollo apollo-client
How to force update data cache in react-apollo?

How to refetch fresh data when you revisit a page whose data is powered by react-apollo? Say, I visit a …

reactjs graphql apollo react-apollo
useQuery returns undefined, But returns data on gql playground

"@apollo/react-hooks": "^3.1.3", "apollo-client": "^2.6.8", Apollo client return undefined on react app but return the data on gql playground, I don't understand …

node.js reactjs graphql react-apollo apollo-server
Apollo client is giving me an error of 'store already contains an id' - what does that mean?

In a react native project I am creating an object and then redirecting the screen to the newly created object's …

graphql react-apollo apollo-client
How to Formik setFieldValue in useEffect hook

I have a Formik form that needs to dynamically change based on information passed via the router. I need to …

reactjs react-apollo formik use-effect
GraphQL error: Cannot query field 'mutation_name' on type 'Mutation'

I am trying to mutate a mutation. The mutation does exist and works fine on my graphql playground. but as …

reactjs react-apollo mutation
Is it possible to prevent `useLazyQuery` queries from being re-fetched on component state change / re-render?

Currently I have a useLazyQuery hook which is fired on a button press (part of a search form). The hook …

graphql apollo react-hooks react-apollo apollo-client
React: UI Flickering When State Updated

I have a component that displays search data returned from the Spotify API. However, every time I update the state …

javascript reactjs react-apollo apollo-client react-hooks
compose not exported from react-apollo

I'm following a graphql tutorial on youtube (https://www.youtube.com/watch?v=ed8SzALpx1Q at about 3hr 16min) …

reactjs graphql apollo react-apollo compose