feat(runtime): add portable runtime support

req: push/009 req: push/010 req: push/011
This commit is contained in:
tmk241
2026-08-17 07:59:04 +02:00
parent e4bd6db13a
commit 353174604e
19 changed files with 1018 additions and 347 deletions
@@ -0,0 +1,11 @@
<main data-hemx-root="room" data-hemx-ws="/rooms/demo/socket" data-hemx-error="room_error">
<h1>Durable hemx room</h1>
<p>One Durable Object owns this room. Open it in two tabs.</p>
<section data-hemx-slot="counter" aria-live="polite">
<strong>Count: {+ self.count +}</strong>
</section>
<form method="post" action="/rooms/demo/increment" data-hemx-handle="increment">
<button type="submit">Increment</button>
</form>
<p data-hemx-slot="room_error" role="alert"></p>
</main>