Repository navigation
Commit ea50523
committed
fix(octane): convert presentation hydration miss before throwing HydrationMismatch
The mismatch() method is the shared sink for all structural hydration
mismatches. During presentation hydration, a structural miss should throw
PresentationAdoptionMiss (allowing retry when the presentation revision
updates), not HydrationMismatch (which permanently client-renders).
Several callers already checked PRESENTATION_HYDRATION before calling
mismatch(), but slotMismatch, branchOpen, and adopt's fragment-remainder
paths did not. Adding the presentationMiss() guard inside mismatch()
itself covers all current and future callers in one place.1 parent 6263050 commit ea50523
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20210 | 20210 | | |
20211 | 20211 | | |
20212 | 20212 | | |
| 20213 | + | |
20213 | 20214 | | |
20214 | 20215 | | |
20215 | 20216 | | |
| |||
0 commit comments