How can I get information about fetching next page error? #2244
Unanswered
VKhayretdinov
asked this question in
General
Replies: 1 comment 1 reply
-
|
Not sure I understand what a loading error or a fetching error is. As far as I know, if you fetch the next page and it errors, the whole query will go to error state, so |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hello!
React Query allows you to get information only about a loading error or a fetching error, but doesn't provide separate information about getting an error while fetching the next page.
My current solution is to use information about fetch direction and refetchError:
Is there a better solution for this case?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions