Skip to content
Discussion options

You must be logged in to vote

you are talking about useMutation, right? This returns a mutate function, so the idea is to unconditionally call useMutation, this doesn't trigger a request. it gives you a mutate function, and once you invoke this function (can be in a condition), the mutation is started.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Xi-gofore
Comment options

@Xi-gofore
Comment options

Answer selected by Xi-gofore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants