T
TanStack17mo ago
continuing-cyan

prefetchQuery vs useQuery

So I have unusual case where I’m prefetching data, then when my component calling the useQuery mounts, the most recent data gets replaced with old data. I’ve tried using different keys for the prefetch queries but I still have the same issue. Any suggestions?
No description
No description
1 Reply
continuing-cyan
continuing-cyanOP17mo ago
I’ve even tried playing around with the stale time
No description

Did you find this page helpful?