Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #89

Open
BahubaliYh opened this issue Jan 13, 2020 · 1 comment

Comments

@BahubaliYh
Copy link

BahubaliYh commented Jan 13, 2020

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.

@tkgroot
Copy link

tkgroot commented May 10, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants