Repository navigation
Commit bc16fb1
committed
fix(hydration): clear rebuiltTail in settleClaim when the rebuilt root is not the range's whole content
When settleClaim decides not to sweep (because from !== rebuiltTail, meaning
a later template root adopted the node at rebuiltTail), the stale rebuiltTail
was left set. A subsequent lite replay of the same range would then call
sweepRebuiltTail unconditionally, deleting the adopted sibling.
Clear rebuiltTail in the else branch so that replay sweeps only fire for
fresh values set during the replay's own rebuild.1 parent e4cb20e commit bc16fb1
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19482 | 19482 | | |
19483 | 19483 | | |
19484 | 19484 | | |
| 19485 | + | |
| 19486 | + | |
19485 | 19487 | | |
19486 | 19488 | | |
19487 | 19489 | | |
| |||
0 commit comments