queryClient.cancelQueries is triggering onError callback #3647
Unanswered
AdhamMoussa
asked this question in
Q&A
Replies: 1 comment 1 reply
-
hmm, can you show that in a codesandbox reproduction? |
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 have a mutation with optimistic update
when the
queryClient.cancelQueries
run while the query is fetching, the onError callback of the Query is triggeredis this expected?
how to avoid that?
Beta Was this translation helpful? Give feedback.
All reactions