Function: loadQuery

loadQuery<TQuery>(environment, preloadableRequest, variables, options?): PreloadedQuery<TQuery>

Type parameters

Name Type
TQuery extends OperationType

Parameters

Name Type
environment Environment
preloadableRequest GraphQLTaggedNode | PreloadableConcreteRequest<TQuery>
variables VariablesOf<TQuery>
options? Readonly<{ fetchPolicy?: null | FetchPolicy ; networkCacheConfig?: null | CacheConfig ; onQueryAstLoadTimeout?: null | () => void }>

Returns

PreloadedQuery<TQuery>