Skip to content

Instantly share code, notes, and snippets.

@bartcis
Created August 11, 2019 09:10
Show Gist options
  • Select an option

  • Save bartcis/bd1e8cce31bf04aa6dfe75bcb729777b to your computer and use it in GitHub Desktop.

Select an option

Save bartcis/bd1e8cce31bf04aa6dfe75bcb729777b to your computer and use it in GitHub Desktop.
// Start imports for React Apollo GraphQL Queries
import { ApolloProvider } from 'react-apollo';
import { ApolloClient } from 'apollo-client';
import { createHttpLink } from 'apollo-link-http';
import { InMemoryCache } from 'apollo-cache-inmemory';
// End of imports for React Apollo GraphQL Queries
// Start imports for GraphQL Hooks Queries
import { GraphQLClient, ClientContext } from 'graphql-hooks';
import memCache from 'graphql-hooks-memcache';
// End of imports for GraphQL Hooks Queries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment