Skip to content

Commit 5185af1

Browse files
committed
fix: React.use inside React.lazy-ed component on SSR (facebook#33941)
DiffTrain build for [cc01584](facebook@cc01584)
1 parent c1f7d3e commit 5185af1

36 files changed

+228
-122
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19baee813cb08fc5971a3b301814faa6cd530ec8
1+
cc015840ef72d48de86778785894c7ca44f4f856
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19baee813cb08fc5971a3b301814faa6cd530ec8
1+
cc015840ef72d48de86778785894c7ca44f4f856

compiled/facebook-www/React-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ __DEV__ &&
14341434
exports.useTransition = function () {
14351435
return resolveDispatcher().useTransition();
14361436
};
1437-
exports.version = "19.2.0-www-classic-19baee81-20250725";
1437+
exports.version = "19.2.0-www-classic-cc015840-20250728";
14381438
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14391439
"function" ===
14401440
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ __DEV__ &&
14341434
exports.useTransition = function () {
14351435
return resolveDispatcher().useTransition();
14361436
};
1437-
exports.version = "19.2.0-www-modern-19baee81-20250725";
1437+
exports.version = "19.2.0-www-modern-cc015840-20250728";
14381438
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14391439
"function" ===
14401440
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,4 +610,4 @@ exports.useSyncExternalStore = function (
610610
exports.useTransition = function () {
611611
return ReactSharedInternals.H.useTransition();
612612
};
613-
exports.version = "19.2.0-www-classic-19baee81-20250725";
613+
exports.version = "19.2.0-www-classic-cc015840-20250728";

compiled/facebook-www/React-prod.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,4 +610,4 @@ exports.useSyncExternalStore = function (
610610
exports.useTransition = function () {
611611
return ReactSharedInternals.H.useTransition();
612612
};
613-
exports.version = "19.2.0-www-modern-19baee81-20250725";
613+
exports.version = "19.2.0-www-modern-cc015840-20250728";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ exports.useSyncExternalStore = function (
614614
exports.useTransition = function () {
615615
return ReactSharedInternals.H.useTransition();
616616
};
617-
exports.version = "19.2.0-www-classic-19baee81-20250725";
617+
exports.version = "19.2.0-www-classic-cc015840-20250728";
618618
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
619619
"function" ===
620620
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ exports.useSyncExternalStore = function (
614614
exports.useTransition = function () {
615615
return ReactSharedInternals.H.useTransition();
616616
};
617-
exports.version = "19.2.0-www-modern-19baee81-20250725";
617+
exports.version = "19.2.0-www-modern-cc015840-20250728";
618618
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
619619
"function" ===
620620
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19305,10 +19305,10 @@ __DEV__ &&
1930519305
(function () {
1930619306
var internals = {
1930719307
bundleType: 1,
19308-
version: "19.2.0-www-classic-19baee81-20250725",
19308+
version: "19.2.0-www-classic-cc015840-20250728",
1930919309
rendererPackageName: "react-art",
1931019310
currentDispatcherRef: ReactSharedInternals,
19311-
reconcilerVersion: "19.2.0-www-classic-19baee81-20250725"
19311+
reconcilerVersion: "19.2.0-www-classic-cc015840-20250728"
1931219312
};
1931319313
internals.overrideHookState = overrideHookState;
1931419314
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19342,7 +19342,7 @@ __DEV__ &&
1934219342
exports.Shape = Shape;
1934319343
exports.Surface = Surface;
1934419344
exports.Text = Text;
19345-
exports.version = "19.2.0-www-classic-19baee81-20250725";
19345+
exports.version = "19.2.0-www-classic-cc015840-20250728";
1934619346
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1934719347
"function" ===
1934819348
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19076,10 +19076,10 @@ __DEV__ &&
1907619076
(function () {
1907719077
var internals = {
1907819078
bundleType: 1,
19079-
version: "19.2.0-www-modern-19baee81-20250725",
19079+
version: "19.2.0-www-modern-cc015840-20250728",
1908019080
rendererPackageName: "react-art",
1908119081
currentDispatcherRef: ReactSharedInternals,
19082-
reconcilerVersion: "19.2.0-www-modern-19baee81-20250725"
19082+
reconcilerVersion: "19.2.0-www-modern-cc015840-20250728"
1908319083
};
1908419084
internals.overrideHookState = overrideHookState;
1908519085
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19113,7 +19113,7 @@ __DEV__ &&
1911319113
exports.Shape = Shape;
1911419114
exports.Surface = Surface;
1911519115
exports.Text = Text;
19116-
exports.version = "19.2.0-www-modern-19baee81-20250725";
19116+
exports.version = "19.2.0-www-modern-cc015840-20250728";
1911719117
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1911819118
"function" ===
1911919119
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)