apollographql / apollo

:rocket: Open source tools for GraphQL. Central repo for discussion.
https://www.apollographql.com
MIT License
2.62k stars 425 forks source link

Migration guide for apollo-link-state is a broken link #966

Open ZM123 opened 4 years ago

ZM123 commented 4 years ago

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.

kevindavi5 commented 4 years ago

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

albumdaily commented 3 years ago

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?

reverie commented 3 years ago

Anyone know how to migrate clientState?

jjb commented 3 years ago

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