Files
hemx/examples/v0/README.md
T
slhx agent 3dfb3b684f feat(hemx): reuse todo row partials
Make the canonical v0 todo flow use one TodoRow partial shape for initial list rendering and generated keyed append/replace/remove helpers. Teach hemx-build to treat collection hosts with keyed h-for children as keyed targets, so beginner templates can keep the DRY outer slot + child partial composition.

req: canonical_authoring/002

req: canonical_authoring/003

req: examples/004

req: list/001
2026-06-05 08:56:36 +02:00

476 B

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 reused by the initial page render and generated row append/replace/remove commands
  • wizard step updates
  • login form feedback
  • page swap/navigation
  • server-sent notifications