Skip to content

Commit 742efbd

Browse files
committed
[Static][Fizz] Carry forward bootstrap config to resume if postponing in the shell (#27672)
Previously it was possible to postpone in the shell during a prerender and then during a resume the bootstrap scripts would not be emitted leading to no hydration on the client. This change moves the bootstrap configuration to `ResumableState` where it can be serialized after postponing if it wasn't flushed as part of the static shell. DiffTrain build for commit 7508dcd.
1 parent 12014b3 commit 742efbd

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25356,7 +25356,7 @@ if (__DEV__) {
2535625356
return root;
2535725357
}
2535825358

25359-
var ReactVersion = "18.3.0-canary-88b00dec4-20231108";
25359+
var ReactVersion = "18.3.0-canary-7508dcd5c-20231108";
2536025360

2536125361
// Might add PROFILE later.
2536225362

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9044,7 +9044,7 @@ var devToolsConfig$jscomp$inline_1033 = {
90449044
throw Error("TestRenderer does not support findFiberByHostInstance()");
90459045
},
90469046
bundleType: 0,
9047-
version: "18.3.0-canary-88b00dec4-20231108",
9047+
version: "18.3.0-canary-7508dcd5c-20231108",
90489048
rendererPackageName: "react-test-renderer"
90499049
};
90509050
var internals$jscomp$inline_1226 = {
@@ -9075,7 +9075,7 @@ var internals$jscomp$inline_1226 = {
90759075
scheduleRoot: null,
90769076
setRefreshHandler: null,
90779077
getCurrentFiber: null,
9078-
reconcilerVersion: "18.3.0-canary-88b00dec4-20231108"
9078+
reconcilerVersion: "18.3.0-canary-7508dcd5c-20231108"
90799079
};
90809080
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
90819081
var hook$jscomp$inline_1227 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9470,7 +9470,7 @@ var devToolsConfig$jscomp$inline_1075 = {
94709470
throw Error("TestRenderer does not support findFiberByHostInstance()");
94719471
},
94729472
bundleType: 0,
9473-
version: "18.3.0-canary-88b00dec4-20231108",
9473+
version: "18.3.0-canary-7508dcd5c-20231108",
94749474
rendererPackageName: "react-test-renderer"
94759475
};
94769476
var internals$jscomp$inline_1267 = {
@@ -9501,7 +9501,7 @@ var internals$jscomp$inline_1267 = {
95019501
scheduleRoot: null,
95029502
setRefreshHandler: null,
95039503
getCurrentFiber: null,
9504-
reconcilerVersion: "18.3.0-canary-88b00dec4-20231108"
9504+
reconcilerVersion: "18.3.0-canary-7508dcd5c-20231108"
95059505
};
95069506
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
95079507
var hook$jscomp$inline_1268 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if (__DEV__) {
2525
) {
2626
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
2727
}
28-
var ReactVersion = "18.3.0-canary-88b00dec4-20231108";
28+
var ReactVersion = "18.3.0-canary-7508dcd5c-20231108";
2929

3030
// ATTENTION
3131
// When adding new symbols to this file,

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,4 +580,4 @@ exports.useSyncExternalStore = function (
580580
exports.useTransition = function () {
581581
return ReactCurrentDispatcher.current.useTransition();
582582
};
583-
exports.version = "18.3.0-canary-88b00dec4-20231108";
583+
exports.version = "18.3.0-canary-7508dcd5c-20231108";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ exports.useSyncExternalStore = function (
576576
exports.useTransition = function () {
577577
return ReactCurrentDispatcher.current.useTransition();
578578
};
579-
exports.version = "18.3.0-canary-88b00dec4-20231108";
579+
exports.version = "18.3.0-canary-7508dcd5c-20231108";
580580
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
581581
"function" ===
582582
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
88b00dec4778ffa230cceca81af3328f49e1efd9
1+
7508dcd5cc245e376860d65402972e418199264d

0 commit comments

Comments
 (0)