Skip to main content
Solid Relay

Function: createQueryLoader()

createQueryLoader<TQuery>(preloadableRequest, initialQueryReference?): [Accessor<undefined | null | PreloadedQuery<TQuery>>, (variables, options?) => void, DisposeFn]

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

Type Parameters

TQuery

TQuery extends OperationType

Parameters

preloadableRequest

GraphQLTaggedNode | PreloadableConcreteRequest<TQuery>

initialQueryReference?

null | PreloadedQuery<TQuery>

Returns

[Accessor<undefined | null | PreloadedQuery<TQuery>>, (variables, options?) => void, DisposeFn]

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

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