Apollo, GraphQL, and React 🚀 What could be easier?

added by JavaScript Kicks
10/16/2019 5:55:43 PM

656 Views

Let's first import the necessary dependencies and create an ApolloСlient: 💡 A few things to note: ✔️ We initialize the client with an ✔️ We use the ApolloProvider component, pass it our client as prop and then wrap it around our component. that points to our endpoint and then also specify Apollo's InMemoryCache as the caching utility.


0 comments