Skip to content

Conversation

@qkreltms
Copy link

@qkreltms qkreltms commented Jan 10, 2021

We've discussed in #241 and

still same in 3.5.11 when you use useMutation.mutate.onSuccess, but useMutation( , { onSuccess: ... }) doesn't.

I also made an example: https://codesandbox.io/s/sleepy-haze-s9p7z?file=/src/App.js

#1573

@vercel
Copy link

vercel bot commented Jan 10, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tannerlinsley/react-query/id5n7ipy2
✅ Preview: https://react-query-git-fork-qkreltms-feat1573.tannerlinsley.vercel.app

@qkreltms qkreltms changed the title feat#1573: describe exceptional behavior of onSuccess of useMutation.mutate doc: describe exceptional behavior of onSuccess of useMutation.mutate Jan 10, 2021
@qkreltms qkreltms changed the title doc: describe exceptional behavior of onSuccess of useMutation.mutate docs: describe exceptional behavior of onSuccess of useMutation.mutate Jan 10, 2021
@tannerlinsley tannerlinsley merged commit 2de2a0d into TanStack:master Jan 12, 2021
@tannerlinsley
Copy link
Member

🎉 This PR is included in version 3.5.13 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants