Repository navigation
Commit 0a56ace
committed
fix(compiler): skip signal-child cache when host may receive dangerouslySetInnerHTML
The compilerCacheArray optimization around bindSignalChild could skip the
child binding entirely on a cache hit. Hosts with a spread or
dangerouslySetInnerHTML then missed childTextHole's mutual-exclusion
check, allowing a raw-HTML writer to activate beside still-mounted
children.
Add the same potentialDangerouslySetInnerHTML guard the ordinary
only-child path uses so the signal-capable binding always runs for
innerHTML-eligible hosts.1 parent f702046 commit 0a56ace
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27537 | 27537 | | |
27538 | 27538 | | |
27539 | 27539 | | |
27540 | | - | |
| 27540 | + | |
27541 | 27541 | | |
27542 | 27542 | | |
27543 | 27543 | | |
| |||
0 commit comments