-
Hi! When using Here's a sandbox example that mimics an endpoint that does not provide a Is that expected? If so, how would you recommend using the pagination against such endpoints? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
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 :)