Is it expected that queries with a `gcTime` set aren't used by `react-query-persist-client?
I have a setup like this:
When I use
useQuery in my app, I've found that query data restored from localStorage on load if the query includes a gcTime option.
I.e.: a query like this:
Does NOT get restored if I add a gcTime value, unless that gcTime value is Infinity. Is this expected?
Versions:
1 Reply
sunny-green•2y ago
No, not expected. Show a reproduction please