Interface: MutationOptions<Args>
For AI agents: see llms.txt for the complete documentation index. Markdown versions are available by adding .md to a page URL or requesting Accept: text/markdown.
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.