TanStackT
TanStack2y ago
1 reply
brilliant-lime

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?
IMG_2817.png
IMG_2818.png
Was this page helpful?