About Magnetic

A server-driven UI framework where the server owns all state.

Components are pure TSX functions that produce JSON DOM descriptors.

The client runtime is 2KB (Brotli) — no framework, no hydration, no virtual DOM.

Architecture

  • TSX components → JSON DOM snapshots
  • POST → response (single round-trip)
  • SSE broadcast for multi-client sync
  • WASM transport for dedup (1,129 bytes)
  • Deploys as a single JS file to V8 isolates

← Back to tasks