Change the status or disable refetching of failed query #1818
Unanswered
timtnleeProject
asked this question in
Q&A
Replies: 1 comment 1 reply
-
it is always considered stale if we don't have data to display yet. if you want to see the error forever, you can use the
if you provide data via |
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.
-
I notice that if a query failed (
isError
= true), the status will bestale
, so it will refetch by default.If it's possible for failed query to change its status besides
stale
so it will not refetch, or just disable refetching after query returns error?Beta Was this translation helpful? Give feedback.
All reactions