UseGraphQLOptions
Type Alias: UseGraphQLOptions<TData, TVariables>
Section titled “Type Alias: UseGraphQLOptions<TData, TVariables>”UseGraphQLOptions<
TData,TVariables> =GraphQLOptions<TData,TVariables> &object
Defined in: packages/fetch-kit/src/react/use-graphql.ts:7
Options for useGraphQL.
Type Declaration
Section titled “Type Declaration”
optionaldeps?:ReadonlyArray<unknown>
Dependencies that, when changed, trigger a refetch.
enabled?
Section titled “enabled?”
optionalenabled?:boolean
When false, the query will not run automatically. Defaults to true.
Type Parameters
Section titled “Type Parameters”TData
TVariables
Section titled “TVariables”TVariables