T
TanStack2y ago
itchy-amethyst

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
itchy-amethyst
itchy-amethystOP2y ago
I’ve even tried playing around with the stale time
No description

Did you find this page helpful?