apollo
apollo copied to clipboard
Migration guide for apollo-link-state is a broken link
On this page https://www.apollographql.com/docs/link/links/state/ there is a note at the top that apollo-link-state has been deprecated, with a link to a migration guide:
⚠️ As of Apollo Client 2.5, local state handling is baked into the core, which means it is no longer necessary to use apollo-link-state. For help with migrating from apollo-link-state to Apollo Client 2.5, please refer to the migration guide.
The migration guide link goes to a 404 page. Where can we find the migration guide? I'm trying to upgrade an older project to Apollo Client 3.0 but need to know that I am updating this part of the cache correctly.
I found this through a cached version of the link on that page. https://www.apollographql.com/docs/react/v2.5/essentials/local-state/#migrating-from-apollo-link-state
I've run into this issue as well. I'm upgrading a project that uses the old state link. Can someone give the correct version of the migration guide?
Anyone know how to migrate clientState
?
archive.org to the rescue: https://web.archive.org/web/20200511071003/https://www.apollographql.com/docs/react/data/local-state/#migrating-from-apollo-link-state