|
Hi! I have this problem when using useMutation. Example of the mutation Am I missing something or is this behavior intended? |
Answered by
fiddep
Apr 6, 2020
Replies: 3 comments
|
Can you provide a reproducible example? |
0 replies
|
Turns out that it was in combination with profiling the page. |
0 replies
Answer selected by
tannerlinsley
|
Ah yep. Window refocus refetching is on by default, so you'll need to take that into account when debugging. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Turns out that it was in combination with profiling the page.
Jumping between chrome devtools and the page causes the fetch on window focus to run, which was complicating the profiling.