Skip to content

Commit d3f70d8

Browse files
committed
[compiler] Validate against mutable functions being frozen
This revisits a validation I built a while ago, trying to make it more strict this time to ensure that it's high-signal. We detect function expressions which are *known* mutable — they definitely can modify a variable defined outside of the function expression itself (modulo control flow). This uses types to look for known Store and Mutate effects only, and disregards mutations of effects. Any such function passed to a location with a Freeze effect is reported as a validation error. This is behind a flag and disabled by default. If folks agree this makes sense to revisit, i'll test out internally and we can consider enabling by default. ghstack-source-id: 075a731 Pull Request resolved: facebook#33079 DiffTrain build for [0db8db1](facebook@0db8db1)
1 parent 7c39333 commit d3f70d8

35 files changed

+3174
-95
lines changed

compiled/eslint-plugin-react-hooks/index.js

Lines changed: 3088 additions & 9 deletions
Large diffs are not rendered by default.

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f739642745577a8e4dcb9753836ac3589b9c590a
1+
0db8db178c1521f979535bdba32bf9db9f47ca05
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f739642745577a8e4dcb9753836ac3589b9c590a
1+
0db8db178c1521f979535bdba32bf9db9f47ca05

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@ __DEV__ &&
15381538
exports.useTransition = function () {
15391539
return resolveDispatcher().useTransition();
15401540
};
1541-
exports.version = "19.2.0-www-classic-f7396427-20250501";
1541+
exports.version = "19.2.0-www-classic-0db8db17-20250503";
15421542
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15431543
"function" ===
15441544
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
@@ -1538,7 +1538,7 @@ __DEV__ &&
15381538
exports.useTransition = function () {
15391539
return resolveDispatcher().useTransition();
15401540
};
1541-
exports.version = "19.2.0-www-modern-f7396427-20250501";
1541+
exports.version = "19.2.0-www-modern-0db8db17-20250503";
15421542
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15431543
"function" ===
15441544
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
@@ -636,4 +636,4 @@ exports.useSyncExternalStore = function (
636636
exports.useTransition = function () {
637637
return ReactSharedInternals.H.useTransition();
638638
};
639-
exports.version = "19.2.0-www-classic-f7396427-20250501";
639+
exports.version = "19.2.0-www-classic-0db8db17-20250503";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,4 +636,4 @@ exports.useSyncExternalStore = function (
636636
exports.useTransition = function () {
637637
return ReactSharedInternals.H.useTransition();
638638
};
639-
exports.version = "19.2.0-www-modern-f7396427-20250501";
639+
exports.version = "19.2.0-www-modern-0db8db17-20250503";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ exports.useSyncExternalStore = function (
640640
exports.useTransition = function () {
641641
return ReactSharedInternals.H.useTransition();
642642
};
643-
exports.version = "19.2.0-www-classic-f7396427-20250501";
643+
exports.version = "19.2.0-www-classic-0db8db17-20250503";
644644
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
645645
"function" ===
646646
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
@@ -640,7 +640,7 @@ exports.useSyncExternalStore = function (
640640
exports.useTransition = function () {
641641
return ReactSharedInternals.H.useTransition();
642642
};
643-
exports.version = "19.2.0-www-modern-f7396427-20250501";
643+
exports.version = "19.2.0-www-modern-0db8db17-20250503";
644644
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
645645
"function" ===
646646
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
@@ -19014,10 +19014,10 @@ __DEV__ &&
1901419014
(function () {
1901519015
var internals = {
1901619016
bundleType: 1,
19017-
version: "19.2.0-www-classic-f7396427-20250501",
19017+
version: "19.2.0-www-classic-0db8db17-20250503",
1901819018
rendererPackageName: "react-art",
1901919019
currentDispatcherRef: ReactSharedInternals,
19020-
reconcilerVersion: "19.2.0-www-classic-f7396427-20250501"
19020+
reconcilerVersion: "19.2.0-www-classic-0db8db17-20250503"
1902119021
};
1902219022
internals.overrideHookState = overrideHookState;
1902319023
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19051,7 +19051,7 @@ __DEV__ &&
1905119051
exports.Shape = Shape;
1905219052
exports.Surface = Surface;
1905319053
exports.Text = Text;
19054-
exports.version = "19.2.0-www-classic-f7396427-20250501";
19054+
exports.version = "19.2.0-www-classic-0db8db17-20250503";
1905519055
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1905619056
"function" ===
1905719057
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
@@ -18786,10 +18786,10 @@ __DEV__ &&
1878618786
(function () {
1878718787
var internals = {
1878818788
bundleType: 1,
18789-
version: "19.2.0-www-modern-f7396427-20250501",
18789+
version: "19.2.0-www-modern-0db8db17-20250503",
1879018790
rendererPackageName: "react-art",
1879118791
currentDispatcherRef: ReactSharedInternals,
18792-
reconcilerVersion: "19.2.0-www-modern-f7396427-20250501"
18792+
reconcilerVersion: "19.2.0-www-modern-0db8db17-20250503"
1879318793
};
1879418794
internals.overrideHookState = overrideHookState;
1879518795
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18823,7 +18823,7 @@ __DEV__ &&
1882318823
exports.Shape = Shape;
1882418824
exports.Surface = Surface;
1882518825
exports.Text = Text;
18826-
exports.version = "19.2.0-www-modern-f7396427-20250501";
18826+
exports.version = "19.2.0-www-modern-0db8db17-20250503";
1882718827
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1882818828
"function" ===
1882918829
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11412,10 +11412,10 @@ var slice = Array.prototype.slice,
1141211412
})(React.Component);
1141311413
var internals$jscomp$inline_1619 = {
1141411414
bundleType: 0,
11415-
version: "19.2.0-www-classic-f7396427-20250501",
11415+
version: "19.2.0-www-classic-0db8db17-20250503",
1141611416
rendererPackageName: "react-art",
1141711417
currentDispatcherRef: ReactSharedInternals,
11418-
reconcilerVersion: "19.2.0-www-classic-f7396427-20250501"
11418+
reconcilerVersion: "19.2.0-www-classic-0db8db17-20250503"
1141911419
};
1142011420
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1142111421
var hook$jscomp$inline_1620 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11441,4 +11441,4 @@ exports.RadialGradient = RadialGradient;
1144111441
exports.Shape = TYPES.SHAPE;
1144211442
exports.Surface = Surface;
1144311443
exports.Text = Text;
11444-
exports.version = "19.2.0-www-classic-f7396427-20250501";
11444+
exports.version = "19.2.0-www-classic-0db8db17-20250503";

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11125,10 +11125,10 @@ var slice = Array.prototype.slice,
1112511125
})(React.Component);
1112611126
var internals$jscomp$inline_1592 = {
1112711127
bundleType: 0,
11128-
version: "19.2.0-www-modern-f7396427-20250501",
11128+
version: "19.2.0-www-modern-0db8db17-20250503",
1112911129
rendererPackageName: "react-art",
1113011130
currentDispatcherRef: ReactSharedInternals,
11131-
reconcilerVersion: "19.2.0-www-modern-f7396427-20250501"
11131+
reconcilerVersion: "19.2.0-www-modern-0db8db17-20250503"
1113211132
};
1113311133
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1113411134
var hook$jscomp$inline_1593 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11154,4 +11154,4 @@ exports.RadialGradient = RadialGradient;
1115411154
exports.Shape = TYPES.SHAPE;
1115511155
exports.Surface = Surface;
1115611156
exports.Text = Text;
11157-
exports.version = "19.2.0-www-modern-f7396427-20250501";
11157+
exports.version = "19.2.0-www-modern-0db8db17-20250503";

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31142,11 +31142,11 @@ __DEV__ &&
3114231142
return_targetInst = null;
3114331143
(function () {
3114431144
var isomorphicReactPackageVersion = React.version;
31145-
if ("19.2.0-www-classic-f7396427-20250501" !== isomorphicReactPackageVersion)
31145+
if ("19.2.0-www-classic-0db8db17-20250503" !== isomorphicReactPackageVersion)
3114631146
throw Error(
3114731147
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3114831148
(isomorphicReactPackageVersion +
31149-
"\n - react-dom: 19.2.0-www-classic-f7396427-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
31149+
"\n - react-dom: 19.2.0-www-classic-0db8db17-20250503\nLearn more: https://react.dev/warnings/version-mismatch")
3115031150
);
3115131151
})();
3115231152
("function" === typeof Map &&
@@ -31189,10 +31189,10 @@ __DEV__ &&
3118931189
!(function () {
3119031190
var internals = {
3119131191
bundleType: 1,
31192-
version: "19.2.0-www-classic-f7396427-20250501",
31192+
version: "19.2.0-www-classic-0db8db17-20250503",
3119331193
rendererPackageName: "react-dom",
3119431194
currentDispatcherRef: ReactSharedInternals,
31195-
reconcilerVersion: "19.2.0-www-classic-f7396427-20250501"
31195+
reconcilerVersion: "19.2.0-www-classic-0db8db17-20250503"
3119631196
};
3119731197
internals.overrideHookState = overrideHookState;
3119831198
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31790,7 +31790,7 @@ __DEV__ &&
3179031790
exports.useFormStatus = function () {
3179131791
return resolveDispatcher().useHostTransitionStatus();
3179231792
};
31793-
exports.version = "19.2.0-www-classic-f7396427-20250501";
31793+
exports.version = "19.2.0-www-classic-0db8db17-20250503";
3179431794
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3179531795
"function" ===
3179631796
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30928,11 +30928,11 @@ __DEV__ &&
3092830928
return_targetInst = null;
3092930929
(function () {
3093030930
var isomorphicReactPackageVersion = React.version;
30931-
if ("19.2.0-www-modern-f7396427-20250501" !== isomorphicReactPackageVersion)
30931+
if ("19.2.0-www-modern-0db8db17-20250503" !== isomorphicReactPackageVersion)
3093230932
throw Error(
3093330933
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3093430934
(isomorphicReactPackageVersion +
30935-
"\n - react-dom: 19.2.0-www-modern-f7396427-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
30935+
"\n - react-dom: 19.2.0-www-modern-0db8db17-20250503\nLearn more: https://react.dev/warnings/version-mismatch")
3093630936
);
3093730937
})();
3093830938
("function" === typeof Map &&
@@ -30975,10 +30975,10 @@ __DEV__ &&
3097530975
!(function () {
3097630976
var internals = {
3097730977
bundleType: 1,
30978-
version: "19.2.0-www-modern-f7396427-20250501",
30978+
version: "19.2.0-www-modern-0db8db17-20250503",
3097930979
rendererPackageName: "react-dom",
3098030980
currentDispatcherRef: ReactSharedInternals,
30981-
reconcilerVersion: "19.2.0-www-modern-f7396427-20250501"
30981+
reconcilerVersion: "19.2.0-www-modern-0db8db17-20250503"
3098230982
};
3098330983
internals.overrideHookState = overrideHookState;
3098430984
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31576,7 +31576,7 @@ __DEV__ &&
3157631576
exports.useFormStatus = function () {
3157731577
return resolveDispatcher().useHostTransitionStatus();
3157831578
};
31579-
exports.version = "19.2.0-www-modern-f7396427-20250501";
31579+
exports.version = "19.2.0-www-modern-0db8db17-20250503";
3158031580
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3158131581
"function" ===
3158231582
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19469,14 +19469,14 @@ function getCrossOriginStringAs(as, input) {
1946919469
}
1947019470
var isomorphicReactPackageVersion$jscomp$inline_2029 = React.version;
1947119471
if (
19472-
"19.2.0-www-classic-f7396427-20250501" !==
19472+
"19.2.0-www-classic-0db8db17-20250503" !==
1947319473
isomorphicReactPackageVersion$jscomp$inline_2029
1947419474
)
1947519475
throw Error(
1947619476
formatProdErrorMessage(
1947719477
527,
1947819478
isomorphicReactPackageVersion$jscomp$inline_2029,
19479-
"19.2.0-www-classic-f7396427-20250501"
19479+
"19.2.0-www-classic-0db8db17-20250503"
1948019480
)
1948119481
);
1948219482
Internals.findDOMNode = function (componentOrElement) {
@@ -19494,10 +19494,10 @@ Internals.Events = [
1949419494
];
1949519495
var internals$jscomp$inline_2635 = {
1949619496
bundleType: 0,
19497-
version: "19.2.0-www-classic-f7396427-20250501",
19497+
version: "19.2.0-www-classic-0db8db17-20250503",
1949819498
rendererPackageName: "react-dom",
1949919499
currentDispatcherRef: ReactSharedInternals,
19500-
reconcilerVersion: "19.2.0-www-classic-f7396427-20250501"
19500+
reconcilerVersion: "19.2.0-www-classic-0db8db17-20250503"
1950119501
};
1950219502
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1950319503
var hook$jscomp$inline_2636 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19861,4 +19861,4 @@ exports.useFormState = function (action, initialState, permalink) {
1986119861
exports.useFormStatus = function () {
1986219862
return ReactSharedInternals.H.useHostTransitionStatus();
1986319863
};
19864-
exports.version = "19.2.0-www-classic-f7396427-20250501";
19864+
exports.version = "19.2.0-www-classic-0db8db17-20250503";

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19198,14 +19198,14 @@ function getCrossOriginStringAs(as, input) {
1919819198
}
1919919199
var isomorphicReactPackageVersion$jscomp$inline_2019 = React.version;
1920019200
if (
19201-
"19.2.0-www-modern-f7396427-20250501" !==
19201+
"19.2.0-www-modern-0db8db17-20250503" !==
1920219202
isomorphicReactPackageVersion$jscomp$inline_2019
1920319203
)
1920419204
throw Error(
1920519205
formatProdErrorMessage(
1920619206
527,
1920719207
isomorphicReactPackageVersion$jscomp$inline_2019,
19208-
"19.2.0-www-modern-f7396427-20250501"
19208+
"19.2.0-www-modern-0db8db17-20250503"
1920919209
)
1921019210
);
1921119211
Internals.findDOMNode = function (componentOrElement) {
@@ -19223,10 +19223,10 @@ Internals.Events = [
1922319223
];
1922419224
var internals$jscomp$inline_2617 = {
1922519225
bundleType: 0,
19226-
version: "19.2.0-www-modern-f7396427-20250501",
19226+
version: "19.2.0-www-modern-0db8db17-20250503",
1922719227
rendererPackageName: "react-dom",
1922819228
currentDispatcherRef: ReactSharedInternals,
19229-
reconcilerVersion: "19.2.0-www-modern-f7396427-20250501"
19229+
reconcilerVersion: "19.2.0-www-modern-0db8db17-20250503"
1923019230
};
1923119231
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1923219232
var hook$jscomp$inline_2618 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19590,4 +19590,4 @@ exports.useFormState = function (action, initialState, permalink) {
1959019590
exports.useFormStatus = function () {
1959119591
return ReactSharedInternals.H.useHostTransitionStatus();
1959219592
};
19593-
exports.version = "19.2.0-www-modern-f7396427-20250501";
19593+
exports.version = "19.2.0-www-modern-0db8db17-20250503";

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21443,14 +21443,14 @@ function getCrossOriginStringAs(as, input) {
2144321443
}
2144421444
var isomorphicReactPackageVersion$jscomp$inline_2273 = React.version;
2144521445
if (
21446-
"19.2.0-www-classic-f7396427-20250501" !==
21446+
"19.2.0-www-classic-0db8db17-20250503" !==
2144721447
isomorphicReactPackageVersion$jscomp$inline_2273
2144821448
)
2144921449
throw Error(
2145021450
formatProdErrorMessage(
2145121451
527,
2145221452
isomorphicReactPackageVersion$jscomp$inline_2273,
21453-
"19.2.0-www-classic-f7396427-20250501"
21453+
"19.2.0-www-classic-0db8db17-20250503"
2145421454
)
2145521455
);
2145621456
Internals.findDOMNode = function (componentOrElement) {
@@ -21468,10 +21468,10 @@ Internals.Events = [
2146821468
];
2146921469
var internals$jscomp$inline_2275 = {
2147021470
bundleType: 0,
21471-
version: "19.2.0-www-classic-f7396427-20250501",
21471+
version: "19.2.0-www-classic-0db8db17-20250503",
2147221472
rendererPackageName: "react-dom",
2147321473
currentDispatcherRef: ReactSharedInternals,
21474-
reconcilerVersion: "19.2.0-www-classic-f7396427-20250501"
21474+
reconcilerVersion: "19.2.0-www-classic-0db8db17-20250503"
2147521475
};
2147621476
enableSchedulingProfiler &&
2147721477
((internals$jscomp$inline_2275.getLaneLabelMap = getLaneLabelMap),
@@ -21838,7 +21838,7 @@ exports.useFormState = function (action, initialState, permalink) {
2183821838
exports.useFormStatus = function () {
2183921839
return ReactSharedInternals.H.useHostTransitionStatus();
2184021840
};
21841-
exports.version = "19.2.0-www-classic-f7396427-20250501";
21841+
exports.version = "19.2.0-www-classic-0db8db17-20250503";
2184221842
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2184321843
"function" ===
2184421844
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21241,14 +21241,14 @@ function getCrossOriginStringAs(as, input) {
2124121241
}
2124221242
var isomorphicReactPackageVersion$jscomp$inline_2263 = React.version;
2124321243
if (
21244-
"19.2.0-www-modern-f7396427-20250501" !==
21244+
"19.2.0-www-modern-0db8db17-20250503" !==
2124521245
isomorphicReactPackageVersion$jscomp$inline_2263
2124621246
)
2124721247
throw Error(
2124821248
formatProdErrorMessage(
2124921249
527,
2125021250
isomorphicReactPackageVersion$jscomp$inline_2263,
21251-
"19.2.0-www-modern-f7396427-20250501"
21251+
"19.2.0-www-modern-0db8db17-20250503"
2125221252
)
2125321253
);
2125421254
Internals.findDOMNode = function (componentOrElement) {
@@ -21266,10 +21266,10 @@ Internals.Events = [
2126621266
];
2126721267
var internals$jscomp$inline_2265 = {
2126821268
bundleType: 0,
21269-
version: "19.2.0-www-modern-f7396427-20250501",
21269+
version: "19.2.0-www-modern-0db8db17-20250503",
2127021270
rendererPackageName: "react-dom",
2127121271
currentDispatcherRef: ReactSharedInternals,
21272-
reconcilerVersion: "19.2.0-www-modern-f7396427-20250501"
21272+
reconcilerVersion: "19.2.0-www-modern-0db8db17-20250503"
2127321273
};
2127421274
enableSchedulingProfiler &&
2127521275
((internals$jscomp$inline_2265.getLaneLabelMap = getLaneLabelMap),
@@ -21636,7 +21636,7 @@ exports.useFormState = function (action, initialState, permalink) {
2163621636
exports.useFormStatus = function () {
2163721637
return ReactSharedInternals.H.useHostTransitionStatus();
2163821638
};
21639-
exports.version = "19.2.0-www-modern-f7396427-20250501";
21639+
exports.version = "19.2.0-www-modern-0db8db17-20250503";
2164021640
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2164121641
"function" ===
2164221642
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9543,5 +9543,5 @@ __DEV__ &&
95439543
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
95449544
);
95459545
};
9546-
exports.version = "19.2.0-www-classic-f7396427-20250501";
9546+
exports.version = "19.2.0-www-classic-0db8db17-20250503";
95479547
})();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9472,5 +9472,5 @@ __DEV__ &&
94729472
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
94739473
);
94749474
};
9475-
exports.version = "19.2.0-www-modern-f7396427-20250501";
9475+
exports.version = "19.2.0-www-modern-0db8db17-20250503";
94769476
})();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6292,4 +6292,4 @@ exports.renderToString = function (children, options) {
62926292
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
62936293
);
62946294
};
6295-
exports.version = "19.2.0-www-classic-f7396427-20250501";
6295+
exports.version = "19.2.0-www-classic-0db8db17-20250503";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6204,4 +6204,4 @@ exports.renderToString = function (children, options) {
62046204
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
62056205
);
62066206
};
6207-
exports.version = "19.2.0-www-modern-f7396427-20250501";
6207+
exports.version = "19.2.0-www-modern-0db8db17-20250503";

0 commit comments

Comments
 (0)