Commit e04f425
authored
Handle SuspenseListComponent getting retried (#16745)
This happens for example when a deleted boundary transfers its pending
promises to the list so that the list can be retried.
This wasn't caught by unit tests because this flag wasn't on in those
tests.1 parent 2c98af7 commit e04f425
2 files changed
Lines changed: 5 additions & 0 deletions
File tree
- packages/react-reconciler/src
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
2223 | 2224 | | |
2224 | 2225 | | |
2225 | 2226 | | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
2226 | 2230 | | |
2227 | 2231 | | |
2228 | 2232 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments