createQueryLoader<TQuery
>(preloadableRequest
, initialQueryReference?
): [Accessor
<PreloadedQuery
<TQuery
> | null
| undefined
>, (variables
: VariablesOf
<TQuery
>, options?
: LoadQueryOptions
& { __environment?
: IEnvironment
| null
}) => void
, DisposeFn
]
Name | Type |
---|---|
TQuery |
extends OperationType |
Name | Type |
---|---|
preloadableRequest |
GraphQLTaggedNode | PreloadableConcreteRequest <TQuery > |
initialQueryReference? |
null | PreloadedQuery <TQuery > |
[Accessor
<PreloadedQuery
<TQuery
> | null
| undefined
>, (variables
: VariablesOf
<TQuery
>, options?
: LoadQueryOptions
& { __environment?
: IEnvironment
| null
}) => void
, DisposeFn
]