Skip to content
Discussion options

You must be logged in to vote

keepPreviousData is used to show data from the previous queryKey while you are transitioning to the new queryKey. So yes, this is expected: As soon as the query for the 3rd page resolves, it will be shown. If it has no data, it has no data :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@m-shojaei
Comment options

Answer selected by m-shojaei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants