Documentation

Documentation

Reference and how-to material, in more depth than the guide. Claims about performance and granularity point at the tests that enforce them.

DocumentWhat it covers
Thinking in processesThinking in processes: build a cart locally, then move it to a server.
ConceptsEach concept, its exact behavior, and the tests that enforce it.
API referenceEvery export of every package, with its signature.
RecipesTypeahead, forms, a query cache, routing, undo and redo, drag, durable processes.
Migration guidesHow ideas from React, Solid, and LiveView map over, and what you give up.
Error handlingCrashes, stale values, rejected calls, and render and connection failures.
Testing processesDriving generators directly and checking their messages and yields.
PerformanceUpdate precision versus throughput: the whole update path, measured, and what it costs.
The inspectorThe instrumentation hook, the recorder, time travel, and the panel.
Processes on the serverDurable execution, timers, the storage interface, agents, and their limits.
Hosting safelyOrigins, authorization, per-connection scope, message screening, and limits.
The Nonchalant wire protocol (rev 3)The eight-message wire protocol and its conformance rules.
InternalsNotes for contributors on how the core works and what it guarantees.