scope nested component props without deep copies

This commit is contained in:
udo
2026-07-14 22:41:55 +00:00
parent 0bcf9a676e
commit 6b18587581
5 changed files with 98 additions and 13 deletions
+5
View File
@@ -401,6 +401,11 @@ header free-functions are `inline`. The wasm backend exposes only declarations
share one source, compile, artifact, and module-cache identity. The compiler
independently enforces the same canonical identity, and persisted failures
are reused only when their recorded source path matches the current request.
`scripts/test_nested_component_props.sh` passes a large prop tree through an
outer component, invokes 300 nested components, and verifies both inner and
caller props are restored. Its warm-request ceiling guards the request-scope
invariant that entering a nested component swaps the active prop trees in
constant time instead of deep-copying the outer tree for every child.
- **Log timeliness**: the base process line-buffers stdout before forking
workers, the proactive compiler, and the WebSocket broker. This keeps each