Repository navigation
Commit bb76ca1
committed
fix(hydration): record inserted keyed-list rows so owns() rejects them on retry
An inserted keyed-list row client-mounts under suspend() but was never
passed to recordUpdate. owns() only refuses recorded blocks, so a later
retry that resumes that row would see it as hydration-owned and could
adopt a sibling's server nodes. Record the block after the suspended
mount so that owns() correctly returns false for inserted rows.1 parent 1e7bf8d commit bb76ca1
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45831 | 45831 | | |
45832 | 45832 | | |
45833 | 45833 | | |
45834 | | - | |
| 45834 | + | |
45835 | 45835 | | |
45836 | 45836 | | |
45837 | 45837 | | |
| |||
45845 | 45845 | | |
45846 | 45846 | | |
45847 | 45847 | | |
| 45848 | + | |
| 45849 | + | |
45848 | 45850 | | |
45849 | 45851 | | |
45850 | 45852 | | |
| |||
0 commit comments