Skip to content

Commit 898a6ad

Browse files
committed
react-hooks/rules-of-hooks: detect issues in class properties (facebook#31823)
Co-authored-by: Elizabeth Craig <elcraig@microsoft.com> DiffTrain build for [301a18a](facebook@301a18a)
1 parent 659708c commit 898a6ad

35 files changed

+89
-87
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bf883bebbc4973dea0e4801a5a62f82043ff57ee
1+
301a18a6afeaea9c6113d7e459025ba69f436b24
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bf883bebbc4973dea0e4801a5a62f82043ff57ee
1+
301a18a6afeaea9c6113d7e459025ba69f436b24

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1942,7 +1942,7 @@ __DEV__ &&
19421942
exports.useTransition = function () {
19431943
return resolveDispatcher().useTransition();
19441944
};
1945-
exports.version = "19.1.0-www-classic-bf883beb-20250103";
1945+
exports.version = "19.1.0-www-classic-301a18a6-20250106";
19461946
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19471947
"function" ===
19481948
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
@@ -1942,7 +1942,7 @@ __DEV__ &&
19421942
exports.useTransition = function () {
19431943
return resolveDispatcher().useTransition();
19441944
};
1945-
exports.version = "19.1.0-www-modern-bf883beb-20250103";
1945+
exports.version = "19.1.0-www-modern-301a18a6-20250106";
19461946
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19471947
"function" ===
19481948
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
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
630630
exports.useTransition = function () {
631631
return ReactSharedInternals.H.useTransition();
632632
};
633-
exports.version = "19.1.0-www-classic-bf883beb-20250103";
633+
exports.version = "19.1.0-www-classic-301a18a6-20250106";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
630630
exports.useTransition = function () {
631631
return ReactSharedInternals.H.useTransition();
632632
};
633-
exports.version = "19.1.0-www-modern-bf883beb-20250103";
633+
exports.version = "19.1.0-www-modern-301a18a6-20250106";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
634634
exports.useTransition = function () {
635635
return ReactSharedInternals.H.useTransition();
636636
};
637-
exports.version = "19.1.0-www-classic-bf883beb-20250103";
637+
exports.version = "19.1.0-www-classic-301a18a6-20250106";
638638
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
639639
"function" ===
640640
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
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
634634
exports.useTransition = function () {
635635
return ReactSharedInternals.H.useTransition();
636636
};
637-
exports.version = "19.1.0-www-modern-bf883beb-20250103";
637+
exports.version = "19.1.0-www-modern-301a18a6-20250106";
638638
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
639639
"function" ===
640640
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
@@ -16914,10 +16914,10 @@ __DEV__ &&
1691416914
(function () {
1691516915
var internals = {
1691616916
bundleType: 1,
16917-
version: "19.1.0-www-classic-bf883beb-20250103",
16917+
version: "19.1.0-www-classic-301a18a6-20250106",
1691816918
rendererPackageName: "react-art",
1691916919
currentDispatcherRef: ReactSharedInternals,
16920-
reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103"
16920+
reconcilerVersion: "19.1.0-www-classic-301a18a6-20250106"
1692116921
};
1692216922
internals.overrideHookState = overrideHookState;
1692316923
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16951,7 +16951,7 @@ __DEV__ &&
1695116951
exports.Shape = Shape;
1695216952
exports.Surface = Surface;
1695316953
exports.Text = Text;
16954-
exports.version = "19.1.0-www-classic-bf883beb-20250103";
16954+
exports.version = "19.1.0-www-classic-301a18a6-20250106";
1695516955
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1695616956
"function" ===
1695716957
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
@@ -16677,10 +16677,10 @@ __DEV__ &&
1667716677
(function () {
1667816678
var internals = {
1667916679
bundleType: 1,
16680-
version: "19.1.0-www-modern-bf883beb-20250103",
16680+
version: "19.1.0-www-modern-301a18a6-20250106",
1668116681
rendererPackageName: "react-art",
1668216682
currentDispatcherRef: ReactSharedInternals,
16683-
reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103"
16683+
reconcilerVersion: "19.1.0-www-modern-301a18a6-20250106"
1668416684
};
1668516685
internals.overrideHookState = overrideHookState;
1668616686
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16714,7 +16714,7 @@ __DEV__ &&
1671416714
exports.Shape = Shape;
1671516715
exports.Surface = Surface;
1671616716
exports.Text = Text;
16717-
exports.version = "19.1.0-www-modern-bf883beb-20250103";
16717+
exports.version = "19.1.0-www-modern-301a18a6-20250106";
1671816718
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1671916719
"function" ===
1672016720
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
@@ -10813,10 +10813,10 @@ var slice = Array.prototype.slice,
1081310813
})(React.Component);
1081410814
var internals$jscomp$inline_1510 = {
1081510815
bundleType: 0,
10816-
version: "19.1.0-www-classic-bf883beb-20250103",
10816+
version: "19.1.0-www-classic-301a18a6-20250106",
1081710817
rendererPackageName: "react-art",
1081810818
currentDispatcherRef: ReactSharedInternals,
10819-
reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103"
10819+
reconcilerVersion: "19.1.0-www-classic-301a18a6-20250106"
1082010820
};
1082110821
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1082210822
var hook$jscomp$inline_1511 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10842,4 +10842,4 @@ exports.RadialGradient = RadialGradient;
1084210842
exports.Shape = TYPES.SHAPE;
1084310843
exports.Surface = Surface;
1084410844
exports.Text = Text;
10845-
exports.version = "19.1.0-www-classic-bf883beb-20250103";
10845+
exports.version = "19.1.0-www-classic-301a18a6-20250106";

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10529,10 +10529,10 @@ var slice = Array.prototype.slice,
1052910529
})(React.Component);
1053010530
var internals$jscomp$inline_1489 = {
1053110531
bundleType: 0,
10532-
version: "19.1.0-www-modern-bf883beb-20250103",
10532+
version: "19.1.0-www-modern-301a18a6-20250106",
1053310533
rendererPackageName: "react-art",
1053410534
currentDispatcherRef: ReactSharedInternals,
10535-
reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103"
10535+
reconcilerVersion: "19.1.0-www-modern-301a18a6-20250106"
1053610536
};
1053710537
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1053810538
var hook$jscomp$inline_1490 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10558,4 +10558,4 @@ exports.RadialGradient = RadialGradient;
1055810558
exports.Shape = TYPES.SHAPE;
1055910559
exports.Surface = Surface;
1056010560
exports.Text = Text;
10561-
exports.version = "19.1.0-www-modern-bf883beb-20250103";
10561+
exports.version = "19.1.0-www-modern-301a18a6-20250106";

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27403,11 +27403,11 @@ __DEV__ &&
2740327403
return_targetInst = null;
2740427404
(function () {
2740527405
var isomorphicReactPackageVersion = React.version;
27406-
if ("19.1.0-www-classic-bf883beb-20250103" !== isomorphicReactPackageVersion)
27406+
if ("19.1.0-www-classic-301a18a6-20250106" !== isomorphicReactPackageVersion)
2740727407
throw Error(
2740827408
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2740927409
(isomorphicReactPackageVersion +
27410-
"\n - react-dom: 19.1.0-www-classic-bf883beb-20250103\nLearn more: https://react.dev/warnings/version-mismatch")
27410+
"\n - react-dom: 19.1.0-www-classic-301a18a6-20250106\nLearn more: https://react.dev/warnings/version-mismatch")
2741127411
);
2741227412
})();
2741327413
("function" === typeof Map &&
@@ -27450,10 +27450,10 @@ __DEV__ &&
2745027450
!(function () {
2745127451
var internals = {
2745227452
bundleType: 1,
27453-
version: "19.1.0-www-classic-bf883beb-20250103",
27453+
version: "19.1.0-www-classic-301a18a6-20250106",
2745427454
rendererPackageName: "react-dom",
2745527455
currentDispatcherRef: ReactSharedInternals,
27456-
reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103"
27456+
reconcilerVersion: "19.1.0-www-classic-301a18a6-20250106"
2745727457
};
2745827458
internals.overrideHookState = overrideHookState;
2745927459
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28051,7 +28051,7 @@ __DEV__ &&
2805128051
exports.useFormStatus = function () {
2805228052
return resolveDispatcher().useHostTransitionStatus();
2805328053
};
28054-
exports.version = "19.1.0-www-classic-bf883beb-20250103";
28054+
exports.version = "19.1.0-www-classic-301a18a6-20250106";
2805528055
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2805628056
"function" ===
2805728057
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
@@ -27182,11 +27182,11 @@ __DEV__ &&
2718227182
return_targetInst = null;
2718327183
(function () {
2718427184
var isomorphicReactPackageVersion = React.version;
27185-
if ("19.1.0-www-modern-bf883beb-20250103" !== isomorphicReactPackageVersion)
27185+
if ("19.1.0-www-modern-301a18a6-20250106" !== isomorphicReactPackageVersion)
2718627186
throw Error(
2718727187
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2718827188
(isomorphicReactPackageVersion +
27189-
"\n - react-dom: 19.1.0-www-modern-bf883beb-20250103\nLearn more: https://react.dev/warnings/version-mismatch")
27189+
"\n - react-dom: 19.1.0-www-modern-301a18a6-20250106\nLearn more: https://react.dev/warnings/version-mismatch")
2719027190
);
2719127191
})();
2719227192
("function" === typeof Map &&
@@ -27229,10 +27229,10 @@ __DEV__ &&
2722927229
!(function () {
2723027230
var internals = {
2723127231
bundleType: 1,
27232-
version: "19.1.0-www-modern-bf883beb-20250103",
27232+
version: "19.1.0-www-modern-301a18a6-20250106",
2723327233
rendererPackageName: "react-dom",
2723427234
currentDispatcherRef: ReactSharedInternals,
27235-
reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103"
27235+
reconcilerVersion: "19.1.0-www-modern-301a18a6-20250106"
2723627236
};
2723727237
internals.overrideHookState = overrideHookState;
2723827238
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27830,7 +27830,7 @@ __DEV__ &&
2783027830
exports.useFormStatus = function () {
2783127831
return resolveDispatcher().useHostTransitionStatus();
2783227832
};
27833-
exports.version = "19.1.0-www-modern-bf883beb-20250103";
27833+
exports.version = "19.1.0-www-modern-301a18a6-20250106";
2783427834
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2783527835
"function" ===
2783627836
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
@@ -17272,14 +17272,14 @@ function getCrossOriginStringAs(as, input) {
1727217272
}
1727317273
var isomorphicReactPackageVersion$jscomp$inline_1782 = React.version;
1727417274
if (
17275-
"19.1.0-www-classic-bf883beb-20250103" !==
17275+
"19.1.0-www-classic-301a18a6-20250106" !==
1727617276
isomorphicReactPackageVersion$jscomp$inline_1782
1727717277
)
1727817278
throw Error(
1727917279
formatProdErrorMessage(
1728017280
527,
1728117281
isomorphicReactPackageVersion$jscomp$inline_1782,
17282-
"19.1.0-www-classic-bf883beb-20250103"
17282+
"19.1.0-www-classic-301a18a6-20250106"
1728317283
)
1728417284
);
1728517285
Internals.findDOMNode = function (componentOrElement) {
@@ -17297,10 +17297,10 @@ Internals.Events = [
1729717297
];
1729817298
var internals$jscomp$inline_2317 = {
1729917299
bundleType: 0,
17300-
version: "19.1.0-www-classic-bf883beb-20250103",
17300+
version: "19.1.0-www-classic-301a18a6-20250106",
1730117301
rendererPackageName: "react-dom",
1730217302
currentDispatcherRef: ReactSharedInternals,
17303-
reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103"
17303+
reconcilerVersion: "19.1.0-www-classic-301a18a6-20250106"
1730417304
};
1730517305
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1730617306
var hook$jscomp$inline_2318 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17665,4 +17665,4 @@ exports.useFormState = function (action, initialState, permalink) {
1766517665
exports.useFormStatus = function () {
1766617666
return ReactSharedInternals.H.useHostTransitionStatus();
1766717667
};
17668-
exports.version = "19.1.0-www-classic-bf883beb-20250103";
17668+
exports.version = "19.1.0-www-classic-301a18a6-20250106";

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17003,14 +17003,14 @@ function getCrossOriginStringAs(as, input) {
1700317003
}
1700417004
var isomorphicReactPackageVersion$jscomp$inline_1772 = React.version;
1700517005
if (
17006-
"19.1.0-www-modern-bf883beb-20250103" !==
17006+
"19.1.0-www-modern-301a18a6-20250106" !==
1700717007
isomorphicReactPackageVersion$jscomp$inline_1772
1700817008
)
1700917009
throw Error(
1701017010
formatProdErrorMessage(
1701117011
527,
1701217012
isomorphicReactPackageVersion$jscomp$inline_1772,
17013-
"19.1.0-www-modern-bf883beb-20250103"
17013+
"19.1.0-www-modern-301a18a6-20250106"
1701417014
)
1701517015
);
1701617016
Internals.findDOMNode = function (componentOrElement) {
@@ -17028,10 +17028,10 @@ Internals.Events = [
1702817028
];
1702917029
var internals$jscomp$inline_2299 = {
1703017030
bundleType: 0,
17031-
version: "19.1.0-www-modern-bf883beb-20250103",
17031+
version: "19.1.0-www-modern-301a18a6-20250106",
1703217032
rendererPackageName: "react-dom",
1703317033
currentDispatcherRef: ReactSharedInternals,
17034-
reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103"
17034+
reconcilerVersion: "19.1.0-www-modern-301a18a6-20250106"
1703517035
};
1703617036
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1703717037
var hook$jscomp$inline_2300 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17396,4 +17396,4 @@ exports.useFormState = function (action, initialState, permalink) {
1739617396
exports.useFormStatus = function () {
1739717397
return ReactSharedInternals.H.useHostTransitionStatus();
1739817398
};
17399-
exports.version = "19.1.0-www-modern-bf883beb-20250103";
17399+
exports.version = "19.1.0-www-modern-301a18a6-20250106";

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17959,14 +17959,14 @@ function getCrossOriginStringAs(as, input) {
1795917959
}
1796017960
var isomorphicReactPackageVersion$jscomp$inline_1879 = React.version;
1796117961
if (
17962-
"19.1.0-www-classic-bf883beb-20250103" !==
17962+
"19.1.0-www-classic-301a18a6-20250106" !==
1796317963
isomorphicReactPackageVersion$jscomp$inline_1879
1796417964
)
1796517965
throw Error(
1796617966
formatProdErrorMessage(
1796717967
527,
1796817968
isomorphicReactPackageVersion$jscomp$inline_1879,
17969-
"19.1.0-www-classic-bf883beb-20250103"
17969+
"19.1.0-www-classic-301a18a6-20250106"
1797017970
)
1797117971
);
1797217972
Internals.findDOMNode = function (componentOrElement) {
@@ -17984,10 +17984,10 @@ Internals.Events = [
1798417984
];
1798517985
var internals$jscomp$inline_1881 = {
1798617986
bundleType: 0,
17987-
version: "19.1.0-www-classic-bf883beb-20250103",
17987+
version: "19.1.0-www-classic-301a18a6-20250106",
1798817988
rendererPackageName: "react-dom",
1798917989
currentDispatcherRef: ReactSharedInternals,
17990-
reconcilerVersion: "19.1.0-www-classic-bf883beb-20250103"
17990+
reconcilerVersion: "19.1.0-www-classic-301a18a6-20250106"
1799117991
};
1799217992
enableSchedulingProfiler &&
1799317993
((internals$jscomp$inline_1881.getLaneLabelMap = getLaneLabelMap),
@@ -18355,7 +18355,7 @@ exports.useFormState = function (action, initialState, permalink) {
1835518355
exports.useFormStatus = function () {
1835618356
return ReactSharedInternals.H.useHostTransitionStatus();
1835718357
};
18358-
exports.version = "19.1.0-www-classic-bf883beb-20250103";
18358+
exports.version = "19.1.0-www-classic-301a18a6-20250106";
1835918359
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1836018360
"function" ===
1836118361
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
@@ -17689,14 +17689,14 @@ function getCrossOriginStringAs(as, input) {
1768917689
}
1769017690
var isomorphicReactPackageVersion$jscomp$inline_1869 = React.version;
1769117691
if (
17692-
"19.1.0-www-modern-bf883beb-20250103" !==
17692+
"19.1.0-www-modern-301a18a6-20250106" !==
1769317693
isomorphicReactPackageVersion$jscomp$inline_1869
1769417694
)
1769517695
throw Error(
1769617696
formatProdErrorMessage(
1769717697
527,
1769817698
isomorphicReactPackageVersion$jscomp$inline_1869,
17699-
"19.1.0-www-modern-bf883beb-20250103"
17699+
"19.1.0-www-modern-301a18a6-20250106"
1770017700
)
1770117701
);
1770217702
Internals.findDOMNode = function (componentOrElement) {
@@ -17714,10 +17714,10 @@ Internals.Events = [
1771417714
];
1771517715
var internals$jscomp$inline_1871 = {
1771617716
bundleType: 0,
17717-
version: "19.1.0-www-modern-bf883beb-20250103",
17717+
version: "19.1.0-www-modern-301a18a6-20250106",
1771817718
rendererPackageName: "react-dom",
1771917719
currentDispatcherRef: ReactSharedInternals,
17720-
reconcilerVersion: "19.1.0-www-modern-bf883beb-20250103"
17720+
reconcilerVersion: "19.1.0-www-modern-301a18a6-20250106"
1772117721
};
1772217722
enableSchedulingProfiler &&
1772317723
((internals$jscomp$inline_1871.getLaneLabelMap = getLaneLabelMap),
@@ -18085,7 +18085,7 @@ exports.useFormState = function (action, initialState, permalink) {
1808518085
exports.useFormStatus = function () {
1808618086
return ReactSharedInternals.H.useHostTransitionStatus();
1808718087
};
18088-
exports.version = "19.1.0-www-modern-bf883beb-20250103";
18088+
exports.version = "19.1.0-www-modern-301a18a6-20250106";
1808918089
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1809018090
"function" ===
1809118091
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
@@ -9150,5 +9150,5 @@ __DEV__ &&
91509150
'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'
91519151
);
91529152
};
9153-
exports.version = "19.1.0-www-classic-bf883beb-20250103";
9153+
exports.version = "19.1.0-www-classic-301a18a6-20250106";
91549154
})();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8976,5 +8976,5 @@ __DEV__ &&
89768976
'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'
89778977
);
89788978
};
8979-
exports.version = "19.1.0-www-modern-bf883beb-20250103";
8979+
exports.version = "19.1.0-www-modern-301a18a6-20250106";
89808980
})();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5898,4 +5898,4 @@ exports.renderToString = function (children, options) {
58985898
'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'
58995899
);
59005900
};
5901-
exports.version = "19.1.0-www-classic-bf883beb-20250103";
5901+
exports.version = "19.1.0-www-classic-301a18a6-20250106";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5810,4 +5810,4 @@ exports.renderToString = function (children, options) {
58105810
'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'
58115811
);
58125812
};
5813-
exports.version = "19.1.0-www-modern-bf883beb-20250103";
5813+
exports.version = "19.1.0-www-modern-301a18a6-20250106";

0 commit comments

Comments
 (0)