ℹ️ Meanwhile there is a new package from Apollo called @apollo/client.
@apollo/client
npm uninstall @apollo/react-common apollo-link apollo-client apollo-cache-inmemory
npm install @apollo/client
import React from 'react' import ReactDOM from 'react-dom' import { createAuthLink } from 'aws-appsync-auth-link' import { createSubscriptionHandshakeLink } from 'aws-appsync-subscription-link' - import { ApolloProvider } from '@apollo/react-common' - import { ApolloLink } from 'apollo-link' - import ApolloClient from 'apollo-client' - import { InMemoryCache } from 'apollo-cache-inmemory' + import { ApolloProvider, ApolloClient, ApolloLink, InMemoryCache } from '@apollo/client' import Auth from '@aws-amplify/auth'
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
ℹ️ Meanwhile there is a new package from Apollo called
@apollo/client
.npm uninstall @apollo/react-common apollo-link apollo-client apollo-cache-inmemory
npm install @apollo/client