Repository navigation
Commit ced0059
committed
fix(suspense): skip nested hidden try blocks when retaining signal retry scope
retainSignalRetryScope and detachSignalRetryScope walked nested
Suspense boundaries' hidden primaries via forEachSubtreeChild with
includeHiddenTry=true (the default). This stored inner owners on the
outer boundary's cache. When the replacement rendered, each inner
boundary's own cache was empty, so it started new loads while the old
ones leaked on the outer cache until reveal.
Pass includeHiddenTry=false so each nested boundary manages its own
signal retry owners through its own lifecycle.1 parent 4352a7a commit ced0059
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
701 | | - | |
| 701 | + | |
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
712 | | - | |
| 712 | + | |
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
| |||
0 commit comments