You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
experimental_createPersister creates a separate storage entry for each cache item.
If this item is not accessed anymore it will never be cleaned up and stays in storage indefinitely.
Describe the bug
experimental_createPersister
creates a separate storage entry for each cache item.If this item is not accessed anymore it will never be cleaned up and stays in storage indefinitely.
Your minimal, reproducible example
https://stackblitz.com/edit/github-1zcjsn?file=src%2Findex.jsx
Steps to reproduce
Expected behavior
I expect there is some kind of garbage collection.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Android, React Native
Tanstack Query adapter
react-query
TanStack Query version
5.25.0
TypeScript version
No response
Additional context
My quick solution for now
The text was updated successfully, but these errors were encountered: