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
persistErrorproperty to theuseQueryoptions.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
erroris set tonullandisErrorto false.Adding
persistErrorproperty and set it to true will keep theerrorstate andisErrortrue.I would be happy if you share what you think about it!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions