Replies: 1 comment
-
It certainly does refetch when the QueryKey changes.
you need to set a
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I first get the initial data from the server and I want to display the data immediately when the page is refreshed.
The problem is that
useInfiniteQuery
does not re-fetch when the queryKey changes.I tried
placeholderData
, but the problem is that it fetches the data when the page is hydrated (this is not correct because I have the same data on the server).Beta Was this translation helpful? Give feedback.
All reactions