Skip to main content

useMinisQuery

@shopify/shop-minis-platform-sdk / hooks/useMinisQuery

useMinisQuery()

useMinisQuery\<Data, Variables, DeepPartial>(query, options): QueryResult\<Data, OperationVariables>

Type Parameters

Type ParameterDefault type
Data extends objectany
Variables extends OperationVariablesOperationVariables
DeepPartial extends objectobject

Parameters

ParameterType
queryDocumentNode\<Data, Variables, DeepPartial>
optionsQueryHookOptions\<Data, OperationVariables>

Returns

QueryResult\<Data, OperationVariables>