An easy way to set and cache context changes for Apollo Link
npm install @apollo/link-context



Easily set a context on your operation, which is used by other Links further down the chain.
All Apollo Client documentation, including Apollo Link usage articles and helpful recipes, lives on https://www.apollographql.com/docs/react/