Skip to content

Prevent onError from useMutation from being called in mutationCache #5999

Answered by TkDodo
joaopedrodcf asked this question in Q&A
Discussion options

You must be logged in to vote

I noticed when I switch to another window, then back to the browser, it refetches, and I'm setting that option to false.

I don't think its meant to work that way but it's interesting that it does work 😅

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joaopedrodcf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants