Skip to main content
Solid Relay

Function: loadQuery()

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

Defined in: dist/index.d.ts:104

Type Parameters

TQuery

TQuery extends OperationType

Parameters

environment

Environment

preloadableRequest

GraphQLTaggedNode | PreloadableConcreteRequest<TQuery>

variables

VariablesOf<TQuery>

options?

Readonly<{ fetchPolicy?: null | FetchPolicy; networkCacheConfig?: null | CacheConfig; onQueryAstLoadTimeout?: null | () => void; }>

Returns

PreloadedQuery<TQuery>

Last updated: 6/17/25, 7:07 AM

Edit this page on GitHub
Solid RelaySolidJS Bindings for Relay
Community
github