Commit de3e5f9
committed
[Float] Suspend unstyled content for up to 1 minute (#26532)
We almost never want to show content before its styles have loaded. But
eventually we will give up and allow unstyled content. So this extends
the timeout to a full minute. This somewhat arbitrary — big enough that
you'd only reach it under extreme circumstances.
Note that, like regular Suspense, the app is still interactive while
we're waiting for content to load. Only the unstyled content is blocked
from appearing, not updates in general. A new update will interrupt it.
We should figure out what the browser engines do during initial page
load and consider aligning our behavior with that. It's supposed to be
render blocking by default but there may be some cases where they, too,
give up and FOUC.
DiffTrain build for commit 0ae3480.1 parent a4a493a commit de3e5f9
File tree
13 files changed
+19
-19
lines changed- compiled-rn/facebook-fbsource/xplat/js
- RKJSModules/vendor
- react-test-renderer/cjs
- react/cjs
- react-native-github/Libraries/Renderer
- implementations
13 files changed
+19
-19
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23869 | 23869 | | |
23870 | 23870 | | |
23871 | 23871 | | |
23872 | | - | |
| 23872 | + | |
23873 | 23873 | | |
23874 | 23874 | | |
23875 | 23875 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8674 | 8674 | | |
8675 | 8675 | | |
8676 | 8676 | | |
8677 | | - | |
| 8677 | + | |
8678 | 8678 | | |
8679 | 8679 | | |
8680 | 8680 | | |
| |||
8705 | 8705 | | |
8706 | 8706 | | |
8707 | 8707 | | |
8708 | | - | |
| 8708 | + | |
8709 | 8709 | | |
8710 | 8710 | | |
8711 | 8711 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9099 | 9099 | | |
9100 | 9100 | | |
9101 | 9101 | | |
9102 | | - | |
| 9102 | + | |
9103 | 9103 | | |
9104 | 9104 | | |
9105 | 9105 | | |
| |||
9130 | 9130 | | |
9131 | 9131 | | |
9132 | 9132 | | |
9133 | | - | |
| 9133 | + | |
9134 | 9134 | | |
9135 | 9135 | | |
9136 | 9136 | | |
| |||
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 | |
|---|---|---|---|
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
| 642 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
| 645 | + | |
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27145 | 27145 | | |
27146 | 27146 | | |
27147 | 27147 | | |
27148 | | - | |
| 27148 | + | |
27149 | 27149 | | |
27150 | 27150 | | |
27151 | 27151 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9545 | 9545 | | |
9546 | 9546 | | |
9547 | 9547 | | |
9548 | | - | |
| 9548 | + | |
9549 | 9549 | | |
9550 | 9550 | | |
9551 | 9551 | | |
| |||
9587 | 9587 | | |
9588 | 9588 | | |
9589 | 9589 | | |
9590 | | - | |
| 9590 | + | |
9591 | 9591 | | |
9592 | 9592 | | |
9593 | 9593 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10253 | 10253 | | |
10254 | 10254 | | |
10255 | 10255 | | |
10256 | | - | |
| 10256 | + | |
10257 | 10257 | | |
10258 | 10258 | | |
10259 | 10259 | | |
| |||
10308 | 10308 | | |
10309 | 10309 | | |
10310 | 10310 | | |
10311 | | - | |
| 10311 | + | |
10312 | 10312 | | |
10313 | 10313 | | |
10314 | 10314 | | |
| |||
0 commit comments