GraphQL · Hook
useMutation
GraphQL mutations let a client request changes to server-side data. In a compliant schema, only top-level mutation fields may cause side effects.
Last updated
Syntax
mutation Name($variable: Type!) { field(argument: $variable) { selectedField } }In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Schemas and TypesQueriesSubscriptions