Provide onMutate
on MutationCache
#3035
Unanswered
stefanprobst
asked this question in
Ideas
Replies: 2 comments 1 reply
-
hm, is it really a use-case to show a toast notification when a mutation starts? I mean maybe, since react-hot-toasts allows for loading spinners inside the toast 🤔 |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think I'd accept a PR in this direction :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi, what do you think about a global
onMutate
cb on theMutationCache
(in addition toonSuccess
andonError
)? i think it could be helpful for e.g. managing toast notifications for mutations in one place.Beta Was this translation helpful? Give feedback.
All reactions