GraphQL · Hook
useReadQuery
GraphQL queries read data by naming the fields the client needs. They can include nested selections and other query features to shape the response.
Last updated
Syntax
query OperationName($variable: Type) { field(argument: $variable) { nestedField } }In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
FieldsVariablesFragmentsAliasesDirectivesMutationsSubscriptions