Function: createLazyLoadQuery

createLazyLoadQuery<TQuery>(gqlQuery, variables, options?): DataProxy<TQuery["response"]>

Type parameters

Name Type
TQuery extends OperationType

Parameters

Name Type
gqlQuery MaybeAccessor<GraphQLTaggedNode>
variables MaybeAccessor<VariablesOf<TQuery>>
options? Object
options.fetchPolicy? MaybeAccessor<undefined | FetchPolicy>
options.networkCacheConfig? MaybeAccessor<undefined | CacheConfig>

Returns

DataProxy<TQuery["response"]>