Files
hemx/examples/v0
slhx agent e7ff4541a7 refactor(v0): name generated interaction handlers
Expose and use InteractionHandlers in the beginner example so the normal path reads as app handlers instead of registry plumbing while preserving the integration registry API.

req: ceremony/005
2026-06-12 17:40:41 +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