Skip to content

Instantly share code, notes, and snippets.

@AlaBenAicha
Created October 2, 2022 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlaBenAicha/38b9a78b5a9edfa881b158e1e253943d to your computer and use it in GitHub Desktop.
Save AlaBenAicha/38b9a78b5a9edfa881b158e1e253943d to your computer and use it in GitHub Desktop.
// ./apollo-client.js
import { ApolloClient, InMemoryCache } from "@apollo/client";
const client = new ApolloClient({
uri: "https://countries.trevorblades.com",
cache: new InMemoryCache(),
});
export default client;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment