Repository navigation
Commit 4ba11f9
committed
fix(octane): check scoped props before reading children in descriptorProps
descriptorProps unconditionally read d.children before checking
SCOPED_ELEMENT_PROPS. For scoped descriptors this triggers the
getScopedChildren getter, running the deferred children resolver in
the parent scope (wrong context, wrong suspense/error owner).
Move the SCOPED_ELEMENT_PROPS guard before the d.children access,
restoring the original three-branch ordering that returned d.props
without touching children for scoped descriptors.1 parent a51aadc commit 4ba11f9
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2354 | 2354 | | |
2355 | 2355 | | |
2356 | 2356 | | |
| 2357 | + | |
2357 | 2358 | | |
2358 | | - | |
| 2359 | + | |
2359 | 2360 | | |
2360 | 2361 | | |
2361 | 2362 | | |
| |||
0 commit comments