Gluon: ApolloQuery
ApolloQuery
inherits from ApolloElement
and implements the ApolloQueryInterface
.
Read the query component guides for examples and tips.
ApolloQuery
🚀 Custom element base class that connects to your Apollo cache.
Properties
variables
Variables<D, V> | null
Query variables.
An object that maps from the name of a variable as used in the query GraphQL document to that variable's value.
noAutoSubscribe
no-auto-subscribeboolean
nextFetchPolicy
next-fetch-policyWatchQueryFetchPolicy | NextFetchPolicyFunction<D, V>
networkStatus
NetworkStatus
fetchPolicy
fetch-policyWatchQueryFetchPolicy
errorPolicy
error-policyErrorPolicy
data
Data<D> | null
Latest query data.
Exports
import { ApolloQuery } from '@apollo-elements/fast/apollo-query';