-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When we refetch a query, it doesn't set isLoading true. #2559
Comments
What you are most likely looking for is the |
|
no, |
I think it's the same thing, |
In tanStack query it is mentioned that isFetching would be of number type |
I face one issue i want to refetch the show loading show refetching loading indicator and I working correctly now I want when I like or dislike the post then refetching in background but not show refetching indicator how to do |
|
Describe the bug
When we refetch a query, the isLoading property doesn't set to true. It always remains false.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should be set to true when we are re-fetching the data from the server.
Desktop (please complete the following information):
Additional context
Nope
The text was updated successfully, but these errors were encountered: