<link rel="stylesheet" href="/_merged_assets/_static/search/noscript.css">
Apollo Elements Apollo Elements Guides API Blog Toggle darkmode

FAST: ApolloSubscriptionBehavior

ApolloSubscriptionBehavior extends ApolloSubscriptionController and implements the Behavior interface.

Read the subscription component guides for examples and tips.

ApolloSubscriptionBehavior

🚀 FAST Behavior that connects to your Apollo cache.

Properties

variables

Variables<D, V> | null

loading

boolean

errors

array

error

null

data

Data<D> | null

Latest query data.

Methods

unbind

Parameters

_source

FASTElement

Returns

void

bind

Parameters

_source

FASTElement & HTMLElement

_context

ExecutionContext

Returns

void

Exports

import { ApolloSubscriptionBehavior } from '@apollo-elements/fast/apollo-subscription-behavior';