-
This feels like a dumb question, but what is useMutation's I assumed incorrectly that it would let multiple useMutation calls to share the mutation status and result. From usage, it seems like it's at least used for lookup with useIsMutating, and I saw one discussion alluding to dehydrating and rehydrating paused mutations. Are these the only purposes? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
it's an optional key to be able to set default options for certain mutations only. In v5, we have a new |
Beta Was this translation helpful? Give feedback.
it's an optional key to be able to set default options for certain mutations only. In v5, we have a new
useMutationState
hook where you can grab state of multiple mutations depending on key. Same foruseIsMutating