Interface: UseMutationResult<M, K>
Interface: UseMutationResult<M, K>
Section titled “Interface: UseMutationResult<M, K>”Defined in: react/src/use-mutation.ts:24
Type Parameters
Section titled “Type Parameters”M
K extends keyof M & string
Properties
Section titled “Properties”mutate
Section titled “mutate”
readonlymutate:MutateFn<M,K>
Defined in: react/src/use-mutation.ts:25
isPending
Section titled “isPending”
readonlyisPending:boolean
Defined in: react/src/use-mutation.ts:26
readonlyerror:Error|null
Defined in: react/src/use-mutation.ts:27
readonlyreset: () =>void
Defined in: react/src/use-mutation.ts:28
Returns
Section titled “Returns”void