Skip to content

Commit 4a02d71

Browse files
committed
[compiler][optim] more shapes for mixedreadonly (#32594)
- Add `at`, `indexOf`, and `includes` - Optimize MixedReadOnly which is currently only used by hook return values. Hook return values are typed as Frozen, this change propagates that to return values of aliasing function calls (such as `at`). One potential issue is that developers may pass `enableAssumeHooksFollowRulesOfReact:false` and set `transitiveMixedData`, expecting their transitive mixed data to be mutable. This is a bit of an edge case and already doesn't have clear semantics. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32594). * #32596 * #32595 * __->__ #32594 * #32593 * #32522 * #32521 DiffTrain build for [89a46a5](89a46a5)
1 parent 60d8ec4 commit 4a02d71

35 files changed

+118
-88
lines changed

compiled/facebook-www/REVISION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
89a46a57df3a3cc309fff937794341ab215e01e9
1+
1c79cb82ab8d3bd1f099115704f28df1097beb46
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
89a46a57df3a3cc309fff937794341ab215e01e9
1+
1c79cb82ab8d3bd1f099115704f28df1097beb46

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ __DEV__ &&
15321532
exports.useTransition = function () {
15331533
return resolveDispatcher().useTransition();
15341534
};
1535-
exports.version = "19.1.0-www-classic-eb53139e-20250313";
1535+
exports.version = "19.1.0-www-classic-89a46a57-20250313";
15361536
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15371537
"function" ===
15381538
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ __DEV__ &&
15321532
exports.useTransition = function () {
15331533
return resolveDispatcher().useTransition();
15341534
};
1535-
exports.version = "19.1.0-www-modern-eb53139e-20250313";
1535+
exports.version = "19.1.0-www-modern-89a46a57-20250313";
15361536
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15371537
"function" ===
15381538
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
641641
exports.useTransition = function () {
642642
return ReactSharedInternals.H.useTransition();
643643
};
644-
exports.version = "19.1.0-www-classic-eb53139e-20250313";
644+
exports.version = "19.1.0-www-classic-89a46a57-20250313";

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
641641
exports.useTransition = function () {
642642
return ReactSharedInternals.H.useTransition();
643643
};
644-
exports.version = "19.1.0-www-modern-eb53139e-20250313";
644+
exports.version = "19.1.0-www-modern-89a46a57-20250313";

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
645645
exports.useTransition = function () {
646646
return ReactSharedInternals.H.useTransition();
647647
};
648-
exports.version = "19.1.0-www-classic-eb53139e-20250313";
648+
exports.version = "19.1.0-www-classic-89a46a57-20250313";
649649
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
650650
"function" ===
651651
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
645645
exports.useTransition = function () {
646646
return ReactSharedInternals.H.useTransition();
647647
};
648-
exports.version = "19.1.0-www-modern-eb53139e-20250313";
648+
exports.version = "19.1.0-www-modern-89a46a57-20250313";
649649
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
650650
"function" ===
651651
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -18546,10 +18546,10 @@ __DEV__ &&
1854618546
(function () {
1854718547
var internals = {
1854818548
bundleType: 1,
18549-
version: "19.1.0-www-classic-eb53139e-20250313",
18549+
version: "19.1.0-www-classic-89a46a57-20250313",
1855018550
rendererPackageName: "react-art",
1855118551
currentDispatcherRef: ReactSharedInternals,
18552-
reconcilerVersion: "19.1.0-www-classic-eb53139e-20250313"
18552+
reconcilerVersion: "19.1.0-www-classic-89a46a57-20250313"
1855318553
};
1855418554
internals.overrideHookState = overrideHookState;
1855518555
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18583,7 +18583,7 @@ __DEV__ &&
1858318583
exports.Shape = Shape;
1858418584
exports.Surface = Surface;
1858518585
exports.Text = Text;
18586-
exports.version = "19.1.0-www-classic-eb53139e-20250313";
18586+
exports.version = "19.1.0-www-classic-89a46a57-20250313";
1858718587
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1858818588
"function" ===
1858918589
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -18318,10 +18318,10 @@ __DEV__ &&
1831818318
(function () {
1831918319
var internals = {
1832018320
bundleType: 1,
18321-
version: "19.1.0-www-modern-eb53139e-20250313",
18321+
version: "19.1.0-www-modern-89a46a57-20250313",
1832218322
rendererPackageName: "react-art",
1832318323
currentDispatcherRef: ReactSharedInternals,
18324-
reconcilerVersion: "19.1.0-www-modern-eb53139e-20250313"
18324+
reconcilerVersion: "19.1.0-www-modern-89a46a57-20250313"
1832518325
};
1832618326
internals.overrideHookState = overrideHookState;
1832718327
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18355,7 +18355,7 @@ __DEV__ &&
1835518355
exports.Shape = Shape;
1835618356
exports.Surface = Surface;
1835718357
exports.Text = Text;
18358-
exports.version = "19.1.0-www-modern-eb53139e-20250313";
18358+
exports.version = "19.1.0-www-modern-89a46a57-20250313";
1835918359
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1836018360
"function" ===
1836118361
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -11341,10 +11341,10 @@ var slice = Array.prototype.slice,
1134111341
})(React.Component);
1134211342
var internals$jscomp$inline_1587 = {
1134311343
bundleType: 0,
11344-
version: "19.1.0-www-classic-eb53139e-20250313",
11344+
version: "19.1.0-www-classic-89a46a57-20250313",
1134511345
rendererPackageName: "react-art",
1134611346
currentDispatcherRef: ReactSharedInternals,
11347-
reconcilerVersion: "19.1.0-www-classic-eb53139e-20250313"
11347+
reconcilerVersion: "19.1.0-www-classic-89a46a57-20250313"
1134811348
};
1134911349
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1135011350
var hook$jscomp$inline_1588 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11370,4 +11370,4 @@ exports.RadialGradient = RadialGradient;
1137011370
exports.Shape = TYPES.SHAPE;
1137111371
exports.Surface = Surface;
1137211372
exports.Text = Text;
11373-
exports.version = "19.1.0-www-classic-eb53139e-20250313";
11373+
exports.version = "19.1.0-www-classic-89a46a57-20250313";

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -11056,10 +11056,10 @@ var slice = Array.prototype.slice,
1105611056
})(React.Component);
1105711057
var internals$jscomp$inline_1560 = {
1105811058
bundleType: 0,
11059-
version: "19.1.0-www-modern-eb53139e-20250313",
11059+
version: "19.1.0-www-modern-89a46a57-20250313",
1106011060
rendererPackageName: "react-art",
1106111061
currentDispatcherRef: ReactSharedInternals,
11062-
reconcilerVersion: "19.1.0-www-modern-eb53139e-20250313"
11062+
reconcilerVersion: "19.1.0-www-modern-89a46a57-20250313"
1106311063
};
1106411064
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1106511065
var hook$jscomp$inline_1561 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11085,4 +11085,4 @@ exports.RadialGradient = RadialGradient;
1108511085
exports.Shape = TYPES.SHAPE;
1108611086
exports.Surface = Surface;
1108711087
exports.Text = Text;
11088-
exports.version = "19.1.0-www-modern-eb53139e-20250313";
11088+
exports.version = "19.1.0-www-modern-89a46a57-20250313";

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -30197,11 +30197,11 @@ __DEV__ &&
3019730197
return_targetInst = null;
3019830198
(function () {
3019930199
var isomorphicReactPackageVersion = React.version;
30200-
if ("19.1.0-www-classic-eb53139e-20250313" !== isomorphicReactPackageVersion)
30200+
if ("19.1.0-www-classic-89a46a57-20250313" !== isomorphicReactPackageVersion)
3020130201
throw Error(
3020230202
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3020330203
(isomorphicReactPackageVersion +
30204-
"\n - react-dom: 19.1.0-www-classic-eb53139e-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
30204+
"\n - react-dom: 19.1.0-www-classic-89a46a57-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
3020530205
);
3020630206
})();
3020730207
("function" === typeof Map &&
@@ -30244,10 +30244,10 @@ __DEV__ &&
3024430244
!(function () {
3024530245
var internals = {
3024630246
bundleType: 1,
30247-
version: "19.1.0-www-classic-eb53139e-20250313",
30247+
version: "19.1.0-www-classic-89a46a57-20250313",
3024830248
rendererPackageName: "react-dom",
3024930249
currentDispatcherRef: ReactSharedInternals,
30250-
reconcilerVersion: "19.1.0-www-classic-eb53139e-20250313"
30250+
reconcilerVersion: "19.1.0-www-classic-89a46a57-20250313"
3025130251
};
3025230252
internals.overrideHookState = overrideHookState;
3025330253
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30845,7 +30845,7 @@ __DEV__ &&
3084530845
exports.useFormStatus = function () {
3084630846
return resolveDispatcher().useHostTransitionStatus();
3084730847
};
30848-
exports.version = "19.1.0-www-classic-eb53139e-20250313";
30848+
exports.version = "19.1.0-www-classic-89a46a57-20250313";
3084930849
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3085030850
"function" ===
3085130851
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -29983,11 +29983,11 @@ __DEV__ &&
2998329983
return_targetInst = null;
2998429984
(function () {
2998529985
var isomorphicReactPackageVersion = React.version;
29986-
if ("19.1.0-www-modern-eb53139e-20250313" !== isomorphicReactPackageVersion)
29986+
if ("19.1.0-www-modern-89a46a57-20250313" !== isomorphicReactPackageVersion)
2998729987
throw Error(
2998829988
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2998929989
(isomorphicReactPackageVersion +
29990-
"\n - react-dom: 19.1.0-www-modern-eb53139e-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
29990+
"\n - react-dom: 19.1.0-www-modern-89a46a57-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
2999129991
);
2999229992
})();
2999329993
("function" === typeof Map &&
@@ -30030,10 +30030,10 @@ __DEV__ &&
3003030030
!(function () {
3003130031
var internals = {
3003230032
bundleType: 1,
30033-
version: "19.1.0-www-modern-eb53139e-20250313",
30033+
version: "19.1.0-www-modern-89a46a57-20250313",
3003430034
rendererPackageName: "react-dom",
3003530035
currentDispatcherRef: ReactSharedInternals,
30036-
reconcilerVersion: "19.1.0-www-modern-eb53139e-20250313"
30036+
reconcilerVersion: "19.1.0-www-modern-89a46a57-20250313"
3003730037
};
3003830038
internals.overrideHookState = overrideHookState;
3003930039
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30631,7 +30631,7 @@ __DEV__ &&
3063130631
exports.useFormStatus = function () {
3063230632
return resolveDispatcher().useHostTransitionStatus();
3063330633
};
30634-
exports.version = "19.1.0-www-modern-eb53139e-20250313";
30634+
exports.version = "19.1.0-www-modern-89a46a57-20250313";
3063530635
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3063630636
"function" ===
3063730637
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -18935,14 +18935,14 @@ function getCrossOriginStringAs(as, input) {
1893518935
}
1893618936
var isomorphicReactPackageVersion$jscomp$inline_1925 = React.version;
1893718937
if (
18938-
"19.1.0-www-classic-eb53139e-20250313" !==
18938+
"19.1.0-www-classic-89a46a57-20250313" !==
1893918939
isomorphicReactPackageVersion$jscomp$inline_1925
1894018940
)
1894118941
throw Error(
1894218942
formatProdErrorMessage(
1894318943
527,
1894418944
isomorphicReactPackageVersion$jscomp$inline_1925,
18945-
"19.1.0-www-classic-eb53139e-20250313"
18945+
"19.1.0-www-classic-89a46a57-20250313"
1894618946
)
1894718947
);
1894818948
Internals.findDOMNode = function (componentOrElement) {
@@ -18960,10 +18960,10 @@ Internals.Events = [
1896018960
];
1896118961
var internals$jscomp$inline_2505 = {
1896218962
bundleType: 0,
18963-
version: "19.1.0-www-classic-eb53139e-20250313",
18963+
version: "19.1.0-www-classic-89a46a57-20250313",
1896418964
rendererPackageName: "react-dom",
1896518965
currentDispatcherRef: ReactSharedInternals,
18966-
reconcilerVersion: "19.1.0-www-classic-eb53139e-20250313"
18966+
reconcilerVersion: "19.1.0-www-classic-89a46a57-20250313"
1896718967
};
1896818968
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1896918969
var hook$jscomp$inline_2506 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19327,4 +19327,4 @@ exports.useFormState = function (action, initialState, permalink) {
1932719327
exports.useFormStatus = function () {
1932819328
return ReactSharedInternals.H.useHostTransitionStatus();
1932919329
};
19330-
exports.version = "19.1.0-www-classic-eb53139e-20250313";
19330+
exports.version = "19.1.0-www-classic-89a46a57-20250313";

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -18666,14 +18666,14 @@ function getCrossOriginStringAs(as, input) {
1866618666
}
1866718667
var isomorphicReactPackageVersion$jscomp$inline_1915 = React.version;
1866818668
if (
18669-
"19.1.0-www-modern-eb53139e-20250313" !==
18669+
"19.1.0-www-modern-89a46a57-20250313" !==
1867018670
isomorphicReactPackageVersion$jscomp$inline_1915
1867118671
)
1867218672
throw Error(
1867318673
formatProdErrorMessage(
1867418674
527,
1867518675
isomorphicReactPackageVersion$jscomp$inline_1915,
18676-
"19.1.0-www-modern-eb53139e-20250313"
18676+
"19.1.0-www-modern-89a46a57-20250313"
1867718677
)
1867818678
);
1867918679
Internals.findDOMNode = function (componentOrElement) {
@@ -18691,10 +18691,10 @@ Internals.Events = [
1869118691
];
1869218692
var internals$jscomp$inline_2487 = {
1869318693
bundleType: 0,
18694-
version: "19.1.0-www-modern-eb53139e-20250313",
18694+
version: "19.1.0-www-modern-89a46a57-20250313",
1869518695
rendererPackageName: "react-dom",
1869618696
currentDispatcherRef: ReactSharedInternals,
18697-
reconcilerVersion: "19.1.0-www-modern-eb53139e-20250313"
18697+
reconcilerVersion: "19.1.0-www-modern-89a46a57-20250313"
1869818698
};
1869918699
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1870018700
var hook$jscomp$inline_2488 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19058,4 +19058,4 @@ exports.useFormState = function (action, initialState, permalink) {
1905819058
exports.useFormStatus = function () {
1905919059
return ReactSharedInternals.H.useHostTransitionStatus();
1906019060
};
19061-
exports.version = "19.1.0-www-modern-eb53139e-20250313";
19061+
exports.version = "19.1.0-www-modern-89a46a57-20250313";

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -20677,14 +20677,14 @@ function getCrossOriginStringAs(as, input) {
2067720677
}
2067820678
var isomorphicReactPackageVersion$jscomp$inline_2085 = React.version;
2067920679
if (
20680-
"19.1.0-www-classic-eb53139e-20250313" !==
20680+
"19.1.0-www-classic-89a46a57-20250313" !==
2068120681
isomorphicReactPackageVersion$jscomp$inline_2085
2068220682
)
2068320683
throw Error(
2068420684
formatProdErrorMessage(
2068520685
527,
2068620686
isomorphicReactPackageVersion$jscomp$inline_2085,
20687-
"19.1.0-www-classic-eb53139e-20250313"
20687+
"19.1.0-www-classic-89a46a57-20250313"
2068820688
)
2068920689
);
2069020690
Internals.findDOMNode = function (componentOrElement) {
@@ -20702,10 +20702,10 @@ Internals.Events = [
2070220702
];
2070320703
var internals$jscomp$inline_2087 = {
2070420704
bundleType: 0,
20705-
version: "19.1.0-www-classic-eb53139e-20250313",
20705+
version: "19.1.0-www-classic-89a46a57-20250313",
2070620706
rendererPackageName: "react-dom",
2070720707
currentDispatcherRef: ReactSharedInternals,
20708-
reconcilerVersion: "19.1.0-www-classic-eb53139e-20250313"
20708+
reconcilerVersion: "19.1.0-www-classic-89a46a57-20250313"
2070920709
};
2071020710
enableSchedulingProfiler &&
2071120711
((internals$jscomp$inline_2087.getLaneLabelMap = getLaneLabelMap),
@@ -21072,7 +21072,7 @@ exports.useFormState = function (action, initialState, permalink) {
2107221072
exports.useFormStatus = function () {
2107321073
return ReactSharedInternals.H.useHostTransitionStatus();
2107421074
};
21075-
exports.version = "19.1.0-www-classic-eb53139e-20250313";
21075+
exports.version = "19.1.0-www-classic-89a46a57-20250313";
2107621076
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2107721077
"function" ===
2107821078
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -20475,14 +20475,14 @@ function getCrossOriginStringAs(as, input) {
2047520475
}
2047620476
var isomorphicReactPackageVersion$jscomp$inline_2075 = React.version;
2047720477
if (
20478-
"19.1.0-www-modern-eb53139e-20250313" !==
20478+
"19.1.0-www-modern-89a46a57-20250313" !==
2047920479
isomorphicReactPackageVersion$jscomp$inline_2075
2048020480
)
2048120481
throw Error(
2048220482
formatProdErrorMessage(
2048320483
527,
2048420484
isomorphicReactPackageVersion$jscomp$inline_2075,
20485-
"19.1.0-www-modern-eb53139e-20250313"
20485+
"19.1.0-www-modern-89a46a57-20250313"
2048620486
)
2048720487
);
2048820488
Internals.findDOMNode = function (componentOrElement) {
@@ -20500,10 +20500,10 @@ Internals.Events = [
2050020500
];
2050120501
var internals$jscomp$inline_2077 = {
2050220502
bundleType: 0,
20503-
version: "19.1.0-www-modern-eb53139e-20250313",
20503+
version: "19.1.0-www-modern-89a46a57-20250313",
2050420504
rendererPackageName: "react-dom",
2050520505
currentDispatcherRef: ReactSharedInternals,
20506-
reconcilerVersion: "19.1.0-www-modern-eb53139e-20250313"
20506+
reconcilerVersion: "19.1.0-www-modern-89a46a57-20250313"
2050720507
};
2050820508
enableSchedulingProfiler &&
2050920509
((internals$jscomp$inline_2077.getLaneLabelMap = getLaneLabelMap),
@@ -20870,7 +20870,7 @@ exports.useFormState = function (action, initialState, permalink) {
2087020870
exports.useFormStatus = function () {
2087120871
return ReactSharedInternals.H.useHostTransitionStatus();
2087220872
};
20873-
exports.version = "19.1.0-www-modern-eb53139e-20250313";
20873+
exports.version = "19.1.0-www-modern-89a46a57-20250313";
2087420874
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2087520875
"function" ===
2087620876
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9412,5 +9412,5 @@ __DEV__ &&
94129412
'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'
94139413
);
94149414
};
9415-
exports.version = "19.1.0-www-classic-eb53139e-20250313";
9415+
exports.version = "19.1.0-www-classic-89a46a57-20250313";
94169416
})();

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9238,5 +9238,5 @@ __DEV__ &&
92389238
'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'
92399239
);
92409240
};
9241-
exports.version = "19.1.0-www-modern-eb53139e-20250313";
9241+
exports.version = "19.1.0-www-modern-89a46a57-20250313";
92429242
})();

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6196,4 +6196,4 @@ exports.renderToString = function (children, options) {
61966196
'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'
61976197
);
61986198
};
6199-
exports.version = "19.1.0-www-classic-eb53139e-20250313";
6199+
exports.version = "19.1.0-www-classic-89a46a57-20250313";

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6108,4 +6108,4 @@ exports.renderToString = function (children, options) {
61086108
'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'
61096109
);
61106110
};
6111-
exports.version = "19.1.0-www-modern-eb53139e-20250313";
6111+
exports.version = "19.1.0-www-modern-89a46a57-20250313";

0 commit comments

Comments
 (0)