react-apollo
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.
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.
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.