Created
January 30, 2023 18:12
-
-
Save rutvikbhatt9/5da10cc03b414165fe117aa490b3d902 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, ApolloLink, InMemoryCache } from "@apollo/client"; | |
const link = ApolloLink.from([retryLink, requestLink, error, uploadLink]); | |
const cache = new InMemoryCache(); | |
const client = new ApolloClient({ | |
link, | |
cache, | |
}); | |
export default client; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment