apollo icon indicating copy to clipboard operation
apollo copied to clipboard

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

Open ZM123 opened this issue 4 years ago • 4 comments

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.

ZM123 avatar Aug 17 '20 18:08 ZM123

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

kevindavi5 avatar Sep 03 '20 21:09 kevindavi5

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?

albumdaily avatar Dec 27 '20 04:12 albumdaily

Anyone know how to migrate clientState?

reverie avatar Jan 06 '21 19:01 reverie

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

jjb avatar Feb 11 '21 17:02 jjb