Created
February 15, 2018 18:41
-
-
Save peggyrayzis/75e459d0488ec57620ae6e4761932316 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ApolloClient } from 'apollo-client'; | |
import { HttpLink, InMemoryCache, ApolloLink } from 'apollo-boost'; | |
const client = new ApolloClient({ | |
link: ApolloLink.from([ myCustomLink, new HttpLink() ]), | |
cache: new InMemoryCache() | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment