Skip to content

Commit 76fb9f7

Browse files
committed
Remove unstable_expectedLoadTime option (#35051)
Follow up to #35022. It's now replaced by the `defer` option. Sounds like nobody is actually using this option, including Meta, so we can just delete it. DiffTrain build for [fa767da](fa767da)
1 parent be6b482 commit 76fb9f7

35 files changed

+112
-231
lines changed

compiled/facebook-www/REVISION

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,7 @@ __DEV__ &&
14991499
exports.useTransition = function () {
15001500
return resolveDispatcher().useTransition();
15011501
};
1502-
exports.version = "19.3.0-www-classic-0ba2f01f-20251105";
1502+
exports.version = "19.3.0-www-classic-fa767dad-20251105";
15031503
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15041504
"function" ===
15051505
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
@@ -1499,7 +1499,7 @@ __DEV__ &&
14991499
exports.useTransition = function () {
15001500
return resolveDispatcher().useTransition();
15011501
};
1502-
exports.version = "19.3.0-www-modern-0ba2f01f-20251105";
1502+
exports.version = "19.3.0-www-modern-fa767dad-20251105";
15031503
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15041504
"function" ===
15051505
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
@@ -606,4 +606,4 @@ exports.useSyncExternalStore = function (
606606
exports.useTransition = function () {
607607
return ReactSharedInternals.H.useTransition();
608608
};
609-
exports.version = "19.3.0-www-classic-0ba2f01f-20251105";
609+
exports.version = "19.3.0-www-classic-fa767dad-20251105";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,4 +606,4 @@ exports.useSyncExternalStore = function (
606606
exports.useTransition = function () {
607607
return ReactSharedInternals.H.useTransition();
608608
};
609-
exports.version = "19.3.0-www-modern-0ba2f01f-20251105";
609+
exports.version = "19.3.0-www-modern-fa767dad-20251105";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ exports.useSyncExternalStore = function (
610610
exports.useTransition = function () {
611611
return ReactSharedInternals.H.useTransition();
612612
};
613-
exports.version = "19.3.0-www-classic-0ba2f01f-20251105";
613+
exports.version = "19.3.0-www-classic-fa767dad-20251105";
614614
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
615615
"function" ===
616616
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
@@ -610,7 +610,7 @@ exports.useSyncExternalStore = function (
610610
exports.useTransition = function () {
611611
return ReactSharedInternals.H.useTransition();
612612
};
613-
exports.version = "19.3.0-www-modern-0ba2f01f-20251105";
613+
exports.version = "19.3.0-www-modern-fa767dad-20251105";
614614
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
615615
"function" ===
616616
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8747,17 +8747,8 @@ __DEV__ &&
87478747
(renderLanes.markerInstances = current)))),
87488748
bailoutOffscreenComponent(null, nextProps)
87498749
);
8750-
if (
8751-
"number" === typeof nextProps.unstable_expectedLoadTime ||
8752-
!0 === nextProps.defer
8753-
)
8750+
if (!0 === nextProps.defer)
87548751
return (
8755-
"number" !== typeof nextProps.unstable_expectedLoadTime ||
8756-
didWarnAboutExpectedLoadTime ||
8757-
((didWarnAboutExpectedLoadTime = !0),
8758-
console.error(
8759-
"<Suspense unstable_expectedLoadTime={...}> is deprecated. Use <Suspense defer={true}> instead."
8760-
)),
87618752
reuseSuspenseHandlerOnStack(workInProgress),
87628753
mountSuspenseFallbackChildren(
87638754
workInProgress,
@@ -20064,8 +20055,7 @@ __DEV__ &&
2006420055
SelectiveHydrationException = Error(
2006520056
"This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."
2006620057
),
20067-
didReceiveUpdate = !1,
20068-
didWarnAboutExpectedLoadTime = !1;
20058+
didReceiveUpdate = !1;
2006920059
var didWarnAboutBadClass = {};
2007020060
var didWarnAboutContextTypeOnFunctionComponent = {};
2007120061
var didWarnAboutContextTypes = {};
@@ -20451,10 +20441,10 @@ __DEV__ &&
2045120441
(function () {
2045220442
var internals = {
2045320443
bundleType: 1,
20454-
version: "19.3.0-www-classic-0ba2f01f-20251105",
20444+
version: "19.3.0-www-classic-fa767dad-20251105",
2045520445
rendererPackageName: "react-art",
2045620446
currentDispatcherRef: ReactSharedInternals,
20457-
reconcilerVersion: "19.3.0-www-classic-0ba2f01f-20251105"
20447+
reconcilerVersion: "19.3.0-www-classic-fa767dad-20251105"
2045820448
};
2045920449
internals.overrideHookState = overrideHookState;
2046020450
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20489,7 +20479,7 @@ __DEV__ &&
2048920479
exports.Shape = Shape;
2049020480
exports.Surface = Surface;
2049120481
exports.Text = Text;
20492-
exports.version = "19.3.0-www-classic-0ba2f01f-20251105";
20482+
exports.version = "19.3.0-www-classic-fa767dad-20251105";
2049320483
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2049420484
"function" ===
2049520485
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8578,17 +8578,8 @@ __DEV__ &&
85788578
(renderLanes.markerInstances = current)))),
85798579
bailoutOffscreenComponent(null, nextProps)
85808580
);
8581-
if (
8582-
"number" === typeof nextProps.unstable_expectedLoadTime ||
8583-
!0 === nextProps.defer
8584-
)
8581+
if (!0 === nextProps.defer)
85858582
return (
8586-
"number" !== typeof nextProps.unstable_expectedLoadTime ||
8587-
didWarnAboutExpectedLoadTime ||
8588-
((didWarnAboutExpectedLoadTime = !0),
8589-
console.error(
8590-
"<Suspense unstable_expectedLoadTime={...}> is deprecated. Use <Suspense defer={true}> instead."
8591-
)),
85928583
reuseSuspenseHandlerOnStack(workInProgress),
85938584
mountSuspenseFallbackChildren(
85948585
workInProgress,
@@ -19835,8 +19826,7 @@ __DEV__ &&
1983519826
SelectiveHydrationException = Error(
1983619827
"This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."
1983719828
),
19838-
didReceiveUpdate = !1,
19839-
didWarnAboutExpectedLoadTime = !1;
19829+
didReceiveUpdate = !1;
1984019830
var didWarnAboutBadClass = {};
1984119831
var didWarnAboutContextTypeOnFunctionComponent = {};
1984219832
var didWarnAboutContextTypes = {};
@@ -20222,10 +20212,10 @@ __DEV__ &&
2022220212
(function () {
2022320213
var internals = {
2022420214
bundleType: 1,
20225-
version: "19.3.0-www-modern-0ba2f01f-20251105",
20215+
version: "19.3.0-www-modern-fa767dad-20251105",
2022620216
rendererPackageName: "react-art",
2022720217
currentDispatcherRef: ReactSharedInternals,
20228-
reconcilerVersion: "19.3.0-www-modern-0ba2f01f-20251105"
20218+
reconcilerVersion: "19.3.0-www-modern-fa767dad-20251105"
2022920219
};
2023020220
internals.overrideHookState = overrideHookState;
2023120221
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20260,7 +20250,7 @@ __DEV__ &&
2026020250
exports.Shape = Shape;
2026120251
exports.Surface = Surface;
2026220252
exports.Text = Text;
20263-
exports.version = "19.3.0-www-modern-0ba2f01f-20251105";
20253+
exports.version = "19.3.0-www-modern-fa767dad-20251105";
2026420254
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2026520255
"function" ===
2026620256
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)