Skip navigation
Applications
  • Cvent Community
  • User profile
Skip navigation
logo
;

Search

Search
Data & GraphQL

GraphQL subscription

What this proves — A live GraphQL subscription streams incremental updates client-side.

useSubscription opens a WebSocket via the browser ApolloProvider; standalone only — in the shell the socket URL resolves to the shell's origin.

Connecting to live updates…

Check out the query example and its React Server Component variant.

Live subscription feed for user current-user, delivered over WebSocket.

No updates yet — click the button to publish one.