Skip to main content
Solid Relay

Function: loadQuery()

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

Defined in: index.d.mts:29

Type Parameters

TQuery

TQuery extends OperationType

Parameters

environment

Environment

preloadableRequest

GraphQLTaggedNode | PreloadableConcreteRequest<TQuery>

variables

VariablesOf<TQuery>

options?

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

Returns

PreloadedQuery<TQuery>

Last updated: 3/4/26, 9:44 AM

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