QueryClient invalidation not working when prefetching
Hello all, I have a question, so I am trying to prefetch my data serverside, however when I try to invalidate after an action on my client is not working properly, however If I do not prefetch beforehand and and load the data client side my invalidate works fine,

2 Replies
flat-fuchsiaOP•3y ago

ambitious-aqua•3y ago
can't say much with just those screenshots. It doesn't matter where data was fetched (server / client). best you can do is look at the devtools after fetching on the server if data is where you want it to be or if it looks different than if you'd fetch on the client ...