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

Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.

Open BahubaliYh opened this issue 5 years ago • 1 comments

i am following https://www.howtographql.com/react-apollo/3-mutations-creating-links/ this tutorials for this code.. in this page i am getting error. i am beginner developer. please help me out.

BahubaliYh avatar Jan 13 '20 05:01 BahubaliYh

Did you wrap the ApolloProvider around your application-root as described in the Configure ApolloClient section of the getting started?

Finally you render the root component of your React app. The App is wrapped with the higher-order component ApolloProvider that gets passed the client as a prop.

tkgroot avatar May 10 '20 10:05 tkgroot