Vanilla

Framework-free examples that show the object, state, and delivery model in a small app. You use bigstate.client.javascript directly—no React hooks—so the publish and subscribe roles stay easy to see in one place.

These guides are a good first step before the React tutorials. You still need Node.js 22.12 or later, your owner, and an API key from Account and credentials.

What you will practice#

HTTP publisher → object state → matching delivery → WebSocket subscriber → DOM update
  • Define an object and publish state over HTTP
  • Configure a WebSocket delivery that selects that object
  • Render live updates from delivery messages (not only from the HTTP write response)

In the counter tutorial the publisher and subscriber share one Vite page so the round trip is obvious. In production, publish from a trusted backend and keep privileged keys out of public browser code.

Tutorials#

Next steps#

When the vanilla loop is clear, move on to React charts and multi-stream UIs—or dig into delivery and the API:

© 2024 BigState