feat(core): compose effect collections
Support Vec<T: IntoEffect> and [T; N] batches so dynamic reusable partial updates compose inside the existing effect model without a broad IntoIterator blanket impl. req: canonical_authoring/003
This commit is contained in:
@@ -40,7 +40,8 @@ For beginner and production-shaped app code, stay on this path. req: public_api/
|
||||
also carries the stable row key. A list target inside `h-for` must have a
|
||||
stable `h-key`, so row updates are addressable without CSS selectors. req: list/001
|
||||
- **Effect:** handlers return typed commands that become a checked effect
|
||||
response. Tuple composition is the normal batch syntax.
|
||||
response. Tuple composition is the normal fixed batch syntax; arrays and
|
||||
`Vec<T: IntoEffect>` cover fixed or dynamic repeated partial updates.
|
||||
- **Runtime:** the browser checks the build fingerprint, resolves targets within
|
||||
the current `data-hemx-root`, and applies compatible batches. Mismatched
|
||||
server/runtime builds fail closed instead of silently mutating the wrong DOM.
|
||||
|
||||
Reference in New Issue
Block a user