Skip to content
Discussion options

You must be logged in to vote

mutations work differently from queries, because every mutation becomes a different observer once you execute mutate. So even if we make the result sharable, it would likely only be the "latest" result. There is an open issue however:

and I do have some ideas on rewriting mutations completely to maybe make that happen :)

if you only need the loading state of a mutation - useIsMutating can help

Replies: 1 comment 1 reply

Comment options

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

Answer selected by atsixian
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