Commit 55c52b1
committed
Regression test: Stylesheet suspends indefinitely when part of error boundary UI during initial hydration (#27258)
Adds a failing test for a case discovered by Next.js. An error boundary
is triggered during initial hydration, and the error fallback includes a
stylesheet. If the stylesheet has not yet been loaded, the commit
suspends, but never resolves even after the stylesheet finishes loading.
Triggering this bug depends on several very specific code paths being
triggered simultaneously. There are a few ways we could fix the bug;
I'll submit as one or more separate PRs to show that each one is
sufficient.
DiffTrain build for commit 7d1c3c1.1 parent 3a83dba commit 55c52b1
File tree
7 files changed
+9
-9
lines changed- compiled-rn/facebook-fbsource/xplat/js
- RKJSModules/vendor
- react-test-renderer/cjs
- react/cjs
- react-native-github/Libraries/Renderer
7 files changed
+9
-9
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23966 | 23966 | | |
23967 | 23967 | | |
23968 | 23968 | | |
23969 | | - | |
| 23969 | + | |
23970 | 23970 | | |
23971 | 23971 | | |
23972 | 23972 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8615 | 8615 | | |
8616 | 8616 | | |
8617 | 8617 | | |
8618 | | - | |
| 8618 | + | |
8619 | 8619 | | |
8620 | 8620 | | |
8621 | 8621 | | |
| |||
8646 | 8646 | | |
8647 | 8647 | | |
8648 | 8648 | | |
8649 | | - | |
| 8649 | + | |
8650 | 8650 | | |
8651 | 8651 | | |
8652 | 8652 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9041 | 9041 | | |
9042 | 9042 | | |
9043 | 9043 | | |
9044 | | - | |
| 9044 | + | |
9045 | 9045 | | |
9046 | 9046 | | |
9047 | 9047 | | |
| |||
9072 | 9072 | | |
9073 | 9073 | | |
9074 | 9074 | | |
9075 | | - | |
| 9075 | + | |
9076 | 9076 | | |
9077 | 9077 | | |
9078 | 9078 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
619 | | - | |
| 619 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
| 622 | + | |
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments