-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
isLoading is false on refetch after error in v2.2.5 #4479
Comments
from the docs:
Refetches shouldn't have ever affected |
in v2.2.3 such component would render
{ isLoading: true, isError: false }
{ isLoading: false, isError: true }
then when I click refetch
{ isLoading: true, isError: false }
{ isLoading: false, isError: true }
but now with v2.2.5
{ isLoading: true, isError: false }
{ isLoading: false, isError: true }
after refetch
{ isLoading: false, isError: false }
{ isLoading: false, isError: true }
so in v2.2.5
isLoading
is false after refetch even though there's no datais it a bug? or from v2.2.5 we should use isFetching all the time?
The text was updated successfully, but these errors were encountered: