Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 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.
-
Hi!
I think it would be very useful to add
persistError
property to theuseQuery
options.Today if I had error returned from my query and then the query refetched (doesn't matter why maybe explicit refetch, maybe refetchInterval or any other reason) the
error
is set tonull
andisError
to false.Adding
persistError
property and set it to true will keep theerror
state andisError
true.I would be happy if you share what you think about it!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions