Files
hemx/examples/v0
slhx agent f1d84e4837 refactor(v0): render todos through heml template
Remove the hand-written push_str renderer for the v0 todos view so the canonical beginner example uses its .heml template for the whole page path, including form validation targets, notices, and keyed rows.

req: examples/001

req: canonical_authoring/003
2026-06-22 22:39:47 +02:00
..
2026-06-05 06:52:37 +02:00
2026-06-05 06:52:37 +02:00

hemx v0 browser examples

Run the examples server:

cargo run -p hemx-v0-examples

Open http://127.0.0.1:3000.

The page includes working examples for generated target objects and server-first UI commands:

  • counter updates
  • todo form submission with one TodoRow hemplate partial, a notice slot, handlers, generated row append/replace/remove commands, and dynamic Vec<T: IntoEffect> row batches reused across initial render and updates
  • wizard step updates
  • login form feedback
  • page swap/navigation
  • server-sent notifications