Skip to main content
Solid Relay

Function: loadQuery()

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

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

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>

Edit this page on GitHub

Last updated: 5/29/25, 10:56 AM

Solid RelaySolidJS Bindings for Relay
Community
github