docs(kanban): match root-scoped runtime metadata
Refresh the kanban north-star walkthrough so rendered metadata and listener attachment match the current data-key/data-slhx-root root-scoped runtime contract. req: runtime/001 req: target_policy/001
This commit is contained in:
+7
-7
@@ -275,9 +275,9 @@ The runtime does not know "presence". It executes ops.
|
||||
Initial SSR:
|
||||
|
||||
```html
|
||||
<section data-sid="0" data-aid="0">
|
||||
<section data-slhx-root data-sid="0" data-aid="0">
|
||||
...
|
||||
<article data-sid="3" data-sk="42" data-hid="1">
|
||||
<article data-sid="3" data-key="42" data-hid="1">
|
||||
Fix login bug
|
||||
</article>
|
||||
...
|
||||
@@ -291,11 +291,11 @@ BASE64URL_POSTCARD_INITIAL_ATOMS
|
||||
Runtime attachment:
|
||||
|
||||
```js
|
||||
document.addEventListener("submit", dispatch)
|
||||
document.addEventListener("click", dispatch)
|
||||
document.addEventListener("pointerdown", dispatch)
|
||||
document.addEventListener("pointermove", dispatch)
|
||||
document.addEventListener("pointerup", dispatch)
|
||||
root.addEventListener("submit", dispatch)
|
||||
root.addEventListener("click", dispatch)
|
||||
root.addEventListener("pointerdown", dispatch)
|
||||
root.addEventListener("pointermove", dispatch)
|
||||
root.addEventListener("pointerup", dispatch)
|
||||
```
|
||||
|
||||
No framework download. No VDOM. No hydration. No game loop.
|
||||
|
||||
Reference in New Issue
Block a user