Replies: 2 comments 2 replies
-
Looks like I can use isFetching state. |
Beta Was this translation helpful? Give feedback.
2 replies
-
thanks nanandn |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
In my application, I have a data table has pagination. Initially, I was using useQuery, but the data was undefined every time the page changes. So I switched to usePaginatedQuery. Now it works like I expected it to work. The resolvedData has the old data until the new page is fetched. However, isLoading is always false. I still want to know if the data is being fetched, so I can indicate that a progress, without clearing the data.
Is there a way to get the loading state for usePaginatedQuery?
Also, I saw somewhere in the forum that usePaginatedQuery will not be available in 3.x. Will there be an equivalent feature?
Thanks
Anand
Beta Was this translation helpful? Give feedback.
All reactions