Menu
Tutorial
Build a real e-commerce app in eight chapters — catalog, cart, optimistic updates, streaming, and a behavior graph your CI can check.
- 01
Scaffold & the first page
Set up the tutorial workspace and serve a complete HTML document from a typed route.
Read → - 02
Components & islands
Author a TSX component with state and a click handler; let the compiler decide what ships as JavaScript.
Read → - 03
Queries & data binding
Declare typed reads once; get dependency stamps, data bindings, and shared client data derived.
Read → - 04
Mutations & forms
One typed write, one endpoint, two response modes — a real form without JavaScript, the fragment wire with it.
Read → - 05
Invalidation & optimistic updates
Declare what the write touches; derive what re-runs; predict what you can prove — and property-test the prediction.
Read → - 06
Streaming & defer
Ship the shell now, stream the slow part later in the same response — with the wire vocabulary you already know.
Read → - 07
Testing & verification
Guards, the app graph, kovo check and kovo explain, harness tests with write verification — and parity with the reference app.
Read → - 08
Wrap-up & deploy
What you built, the invariants that now hold, and how it ships.
Read →