Created
January 18, 2018 17:19
-
-
Save Gregoirevda/7ffef54a29f0447ac6643b3d3d312eae to your computer and use it in GitHub Desktop.
Apollo Client
This file contains 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
module Client = | |
ReasonApollo.CreateClient( | |
{ | |
let apolloClient = | |
ReasonApollo.createApolloClient( | |
~cache=InMemoryCache.cache, | |
~link=ApolloLinks.from([|HttpLink.link|]), | |
() | |
); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment