Skip to content
Discussion options

You must be logged in to vote

It's the value returned from the onMutate callback: https://react-query-beta.tanstack.com/guides/optimistic-updates . But the UseMutationOptions generics should have defaults so I added them in the latest beta.

Replies: 1 comment 1 reply

Comment options

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

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