The Apple Of His Eyes
The staleTime didnt get exhausted before it started behaving that way
Check your local storage what’s happening. That’s where the cache is stored
You will figure it out...just de try , I have not used gcTime before, so I can't really say how it behaves
Been a while I use tanstack query but why do you have a stale time and cache time? Why not just use stale time, since it will recalibrate and cache
No issue using both as they’re different things
Also using staleTime alone, the issue still happens
I don’t know
I would check it
But I built using expo and when I check the one I built was for internal distribution
Now I want to build for production and try it again
Without adjusting gcTime, the default -minute window may discard the data, even if it's still within staleTime.
Oh makes sense then. I saw on stack overflow that it purged inactive queries. Not sure what that means but I think it’s what you explained.

Source
Yeah
It’s responsible for the duration of the cache in memory
Please who has an apple account
I wat to push an app to the apple store
I don't have dollars
If you can upload the app to your account
Then we negotiate a price