mutationOptions({ mutationFn, ...options, })
Options
You can generally pass everything to mutationOptions that you can also pass to useMutation.
“If you’re serious about *really* understanding React Query, there’s no better way than with query.gg”—Tanner Linsley