Skip to content

Conversation

@melanieseltzer
Copy link
Contributor

Clarify the docs around persistWithLocalStorage as overriding the default cacheTime appears to be necessary when creating the QueryClient instance.

Closes #1600

@vercel
Copy link

vercel bot commented Jan 9, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tannerlinsley/react-query/i3yzpsz83
✅ Preview: https://react-query-git-fork-melanieseltzer-persist-docs.tannerlinsley.vercel.app

@tannerlinsley
Copy link
Collaborator

🎉 This PR is included in version 3.5.14 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

persistWithLocalStorage is hydrating with the wrong cacheTime

2 participants