Skip to content

Recipes

Complete examples for your app, from installation to a working subscription.

Direct subscriptions

Render a live feed with your framework's component binding.

TanStack Query

Feed shared updates into your existing query cache.

SWR

Use shared subscriptions in a React app with SWR.

Apollo Client

Share GraphQL subscriptions through Apollo's client.

tRPC

Subscribe to a typed procedure over WebSocket or SSE.

AI SDK

Follow and resume the same chat generation across tabs.