Skip to content

Any further thoughts on deduped mutations with React 18? #3802

Answered by TkDodo
gitdagray asked this question in General
Discussion options

You must be logged in to vote

I still think this is out of scope for react-query; the issue seems to be react firing effects twice in strict mode (only for dev builds), so the workarounds are either to ignore it (because it has not production impact) or to work around it with the ref.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gitdagray
Comment options

Answer selected by gitdagray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3774 on July 13, 2022 12:46.