Repository navigation
Commit d79e18c
committed
fix(hydration): sweep rebuilt tail on childSlot same-identity resume
When a <Hydrate> resume re-renders an existing block through childSlot's
same-identity paths (body-fn or same-component), renderBlock runs but
nothing checks rebuiltRange or parks the cursor past the slot's range.
A renderable hole whose content was entirely a rebuilt root keeps the
server tail on screen, and the cursor is not advanced for later siblings.
Add the same rebuiltRange/sweepRebuiltTail check and cursor advancement
that componentSlotImpl performs after render, to both same-identity
early-return paths in childSlot.1 parent 5e57a13 commit d79e18c
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37103 | 37103 | | |
37104 | 37104 | | |
37105 | 37105 | | |
| 37106 | + | |
| 37107 | + | |
| 37108 | + | |
| 37109 | + | |
| 37110 | + | |
37106 | 37111 | | |
37107 | 37112 | | |
37108 | 37113 | | |
| |||
37128 | 37133 | | |
37129 | 37134 | | |
37130 | 37135 | | |
| 37136 | + | |
| 37137 | + | |
| 37138 | + | |
| 37139 | + | |
| 37140 | + | |
37131 | 37141 | | |
37132 | 37142 | | |
37133 | 37143 | | |
| |||
0 commit comments