Interface: MutationOptions<Args>
react.MutationOptions
Options for mutation.
Type parameters
| Name | Type |
|---|---|
Args | extends Record<string, Value> |
Properties
optimisticUpdate
• Optional optimisticUpdate: OptimisticUpdate<Args>
An optimistic update to apply along with this mutation.
An optimistic update locally updates queries while a mutation is pending. Once the mutation completes, the update will be rolled back.