Skip to content

The value of mutation abstraction #8504

Answered by TkDodo
ylc395 asked this question in Q&A
Discussion options

You must be logged in to vote
  • it tracks loading and error states for you
  • it lets you build optimistic updates
  • you can read values of mutations in other components with useMutationState

you have to decide for yourself if that’s “worth it” or not.

Replies: 1 comment 1 reply

Comment options

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

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