fix(build): lower rendered loop keys

req: list/002
This commit is contained in:
slhx agent
2026-07-27 20:02:32 +02:00
parent 2dc7703936
commit c530dc5d8f
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ resources. Concrete runtime targets are addressed through `ResourceRef`
004 Without a key, hemx-addressable nodes inside a loop are rejected at build time. Keyed identity is `ResourceRef { resource: ResourceId, scope: Some(ScopeKey::KeyValue(...)) }`. [north_star]
002 Slots inside a keyed loop receive a composite identity. hemplate records `key_expr` in the Surface; hemx implements keyed slot lookups. [north_star]
002 Slots inside a keyed loop receive a composite identity. hemplate records `key_expr` in the Surface; hemx implements keyed slot lookups and lowers rendered `h-key` identity to its private `data-key` runtime marker. [north_star]
003 Generated helpers for keyed slots are `append(view)`, `prepend(view)`, `replace(view)`, and `remove(key_or_view)` when the template and view type provide an unambiguous `h-key`. [north_star]