apollo-link-token-refresh
apollo-link-token-refresh copied to clipboard
Example uses ApolloLink, but documentation does not mention where it comes from
Would be good to document npm (or yarn) install of apollo-link and if the example included the import it. Thank you.
@thomergil, ApolloLink
comes from apollo-link
package. A new instance of this package is passed in the link
prop of ApolloClient
like so:
const client = new ApolloClient({
link: ApolloLink.from([
new TokenRefreshLink({
...
Hope this helps.