Skip to content

Commit 2950351

Browse files
committed
[cleanup] remove old feature flag warnAboutDeprecatedLifecycles (#25978)
This feature flag was always set to true, we can easily clean it up. DiffTrain build for [a48e54f](a48e54f) [View git log for this commit](https://github.com/facebook/react/commits/a48e54f2b74d87d90b0a3bff3a9b52fd9188308b)
1 parent 43941d2 commit 2950351

28 files changed

+82
-122
lines changed

compiled/facebook-www/REVISION

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-www-classic-0f4a83596-20230110";
30+
var ReactVersion = "18.3.0-www-classic-a48e54f2b-20230110";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-www-modern-0f4a83596-20230110";
30+
var ReactVersion = "18.3.0-www-modern-a48e54f2b-20230110";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,4 +643,4 @@ exports.useSyncExternalStore = function(
643643
);
644644
};
645645
exports.useTransition = useTransition;
646-
exports.version = "18.3.0-www-classic-0f4a83596-20230110";
646+
exports.version = "18.3.0-www-classic-a48e54f2b-20230110";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function(
635635
);
636636
};
637637
exports.useTransition = useTransition;
638-
exports.version = "18.3.0-www-modern-0f4a83596-20230110";
638+
exports.version = "18.3.0-www-modern-a48e54f2b-20230110";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ exports.useSyncExternalStore = function(
654654
);
655655
};
656656
exports.useTransition = useTransition;
657-
exports.version = "18.3.0-www-classic-0f4a83596-20230110";
657+
exports.version = "18.3.0-www-classic-a48e54f2b-20230110";
658658

659659
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
660660
if (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ exports.useSyncExternalStore = function(
646646
);
647647
};
648648
exports.useTransition = useTransition;
649-
exports.version = "18.3.0-www-modern-0f4a83596-20230110";
649+
exports.version = "18.3.0-www-modern-a48e54f2b-20230110";
650650

651651
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
652652
if (

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

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
6969
return self;
7070
}
7171

72-
var ReactVersion = "18.3.0-www-classic-0f4a83596-20230110";
72+
var ReactVersion = "18.3.0-www-classic-a48e54f2b-20230110";
7373

7474
var LegacyRoot = 0;
7575
var ConcurrentRoot = 1;
@@ -11646,12 +11646,10 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) {
1164611646
);
1164711647
}
1164811648

11649-
{
11650-
ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(
11651-
workInProgress,
11652-
instance
11653-
);
11654-
}
11649+
ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(
11650+
workInProgress,
11651+
instance
11652+
);
1165511653
}
1165611654

1165711655
instance.state = workInProgress.memoizedState;
@@ -25951,10 +25949,7 @@ function throwIfInfiniteUpdateLoopDetected() {
2595125949
function flushRenderPhaseStrictModeWarningsInDEV() {
2595225950
{
2595325951
ReactStrictModeWarnings.flushLegacyContextWarning();
25954-
25955-
{
25956-
ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
25957-
}
25952+
ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
2595825953
}
2595925954
}
2596025955

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

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
6969
return self;
7070
}
7171

72-
var ReactVersion = "18.3.0-www-modern-0f4a83596-20230110";
72+
var ReactVersion = "18.3.0-www-modern-a48e54f2b-20230110";
7373

7474
var LegacyRoot = 0;
7575
var ConcurrentRoot = 1;
@@ -11384,12 +11384,10 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) {
1138411384
);
1138511385
}
1138611386

11387-
{
11388-
ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(
11389-
workInProgress,
11390-
instance
11391-
);
11392-
}
11387+
ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(
11388+
workInProgress,
11389+
instance
11390+
);
1139311391
}
1139411392

1139511393
instance.state = workInProgress.memoizedState;
@@ -25640,10 +25638,7 @@ function throwIfInfiniteUpdateLoopDetected() {
2564025638
function flushRenderPhaseStrictModeWarningsInDEV() {
2564125639
{
2564225640
ReactStrictModeWarnings.flushLegacyContextWarning();
25643-
25644-
{
25645-
ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
25646-
}
25641+
ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
2564725642
}
2564825643
}
2564925644

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9804,7 +9804,7 @@ var slice = Array.prototype.slice,
98049804
return null;
98059805
},
98069806
bundleType: 0,
9807-
version: "18.3.0-www-classic-0f4a83596-20230110",
9807+
version: "18.3.0-www-classic-a48e54f2b-20230110",
98089808
rendererPackageName: "react-art"
98099809
};
98109810
var internals$jscomp$inline_1318 = {
@@ -9835,7 +9835,7 @@ var internals$jscomp$inline_1318 = {
98359835
scheduleRoot: null,
98369836
setRefreshHandler: null,
98379837
getCurrentFiber: null,
9838-
reconcilerVersion: "18.3.0-next-0f4a83596-20230110"
9838+
reconcilerVersion: "18.3.0-next-a48e54f2b-20230110"
98399839
};
98409840
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
98419841
var hook$jscomp$inline_1319 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9471,7 +9471,7 @@ var slice = Array.prototype.slice,
94719471
return null;
94729472
},
94739473
bundleType: 0,
9474-
version: "18.3.0-www-modern-0f4a83596-20230110",
9474+
version: "18.3.0-www-modern-a48e54f2b-20230110",
94759475
rendererPackageName: "react-art"
94769476
};
94779477
var internals$jscomp$inline_1309 = {
@@ -9502,7 +9502,7 @@ var internals$jscomp$inline_1309 = {
95029502
scheduleRoot: null,
95039503
setRefreshHandler: null,
95049504
getCurrentFiber: null,
9505-
reconcilerVersion: "18.3.0-next-0f4a83596-20230110"
9505+
reconcilerVersion: "18.3.0-next-a48e54f2b-20230110"
95069506
};
95079507
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
95089508
var hook$jscomp$inline_1310 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

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

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25969,12 +25969,10 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) {
2596925969
);
2597025970
}
2597125971

25972-
{
25973-
ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(
25974-
workInProgress,
25975-
instance
25976-
);
25977-
}
25972+
ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(
25973+
workInProgress,
25974+
instance
25975+
);
2597825976
}
2597925977

2598025978
instance.state = workInProgress.memoizedState;
@@ -41008,10 +41006,7 @@ function throwIfInfiniteUpdateLoopDetected() {
4100841006
function flushRenderPhaseStrictModeWarningsInDEV() {
4100941007
{
4101041008
ReactStrictModeWarnings.flushLegacyContextWarning();
41011-
41012-
{
41013-
ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
41014-
}
41009+
ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
4101541010
}
4101641011
}
4101741012

@@ -42702,7 +42697,7 @@ function createFiberRoot(
4270242697
return root;
4270342698
}
4270442699

42705-
var ReactVersion = "18.3.0-www-classic-0f4a83596-20230110";
42700+
var ReactVersion = "18.3.0-www-classic-a48e54f2b-20230110";
4270642701

4270742702
function createPortal(
4270842703
children,

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

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25742,12 +25742,10 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) {
2574225742
);
2574325743
}
2574425744

25745-
{
25746-
ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(
25747-
workInProgress,
25748-
instance
25749-
);
25750-
}
25745+
ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(
25746+
workInProgress,
25747+
instance
25748+
);
2575125749
}
2575225750

2575325751
instance.state = workInProgress.memoizedState;
@@ -40732,10 +40730,7 @@ function throwIfInfiniteUpdateLoopDetected() {
4073240730
function flushRenderPhaseStrictModeWarningsInDEV() {
4073340731
{
4073440732
ReactStrictModeWarnings.flushLegacyContextWarning();
40735-
40736-
{
40737-
ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
40738-
}
40733+
ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
4073940734
}
4074040735
}
4074140736

@@ -42426,7 +42421,7 @@ function createFiberRoot(
4242642421
return root;
4242742422
}
4242842423

42429-
var ReactVersion = "18.3.0-www-modern-0f4a83596-20230110";
42424+
var ReactVersion = "18.3.0-www-modern-a48e54f2b-20230110";
4243042425

4243142426
function createPortal(
4243242427
children,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15554,7 +15554,7 @@ Internals.Events = [
1555415554
var devToolsConfig$jscomp$inline_1750 = {
1555515555
findFiberByHostInstance: getClosestInstanceFromNode,
1555615556
bundleType: 0,
15557-
version: "18.3.0-www-classic-0f4a83596-20230110",
15557+
version: "18.3.0-www-classic-a48e54f2b-20230110",
1555815558
rendererPackageName: "react-dom"
1555915559
};
1556015560
var internals$jscomp$inline_2134 = {
@@ -15584,7 +15584,7 @@ var internals$jscomp$inline_2134 = {
1558415584
scheduleRoot: null,
1558515585
setRefreshHandler: null,
1558615586
getCurrentFiber: null,
15587-
reconcilerVersion: "18.3.0-next-0f4a83596-20230110"
15587+
reconcilerVersion: "18.3.0-next-a48e54f2b-20230110"
1558815588
};
1558915589
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1559015590
var hook$jscomp$inline_2135 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15826,4 +15826,4 @@ exports.unstable_renderSubtreeIntoContainer = function(
1582615826
);
1582715827
};
1582815828
exports.unstable_runWithPriority = runWithPriority;
15829-
exports.version = "18.3.0-next-0f4a83596-20230110";
15829+
exports.version = "18.3.0-next-a48e54f2b-20230110";

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15115,7 +15115,7 @@ Internals.Events = [
1511515115
var devToolsConfig$jscomp$inline_1718 = {
1511615116
findFiberByHostInstance: getClosestInstanceFromNode,
1511715117
bundleType: 0,
15118-
version: "18.3.0-www-modern-0f4a83596-20230110",
15118+
version: "18.3.0-www-modern-a48e54f2b-20230110",
1511915119
rendererPackageName: "react-dom"
1512015120
};
1512115121
var internals$jscomp$inline_2109 = {
@@ -15146,7 +15146,7 @@ var internals$jscomp$inline_2109 = {
1514615146
scheduleRoot: null,
1514715147
setRefreshHandler: null,
1514815148
getCurrentFiber: null,
15149-
reconcilerVersion: "18.3.0-next-0f4a83596-20230110"
15149+
reconcilerVersion: "18.3.0-next-a48e54f2b-20230110"
1515015150
};
1515115151
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1515215152
var hook$jscomp$inline_2110 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15334,4 +15334,4 @@ exports.unstable_flushControlled = function(fn) {
1533415334
}
1533515335
};
1533615336
exports.unstable_runWithPriority = runWithPriority;
15337-
exports.version = "18.3.0-next-0f4a83596-20230110";
15337+
exports.version = "18.3.0-next-a48e54f2b-20230110";

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16324,7 +16324,7 @@ Internals.Events = [
1632416324
var devToolsConfig$jscomp$inline_1824 = {
1632516325
findFiberByHostInstance: getClosestInstanceFromNode,
1632616326
bundleType: 0,
16327-
version: "18.3.0-www-classic-0f4a83596-20230110",
16327+
version: "18.3.0-www-classic-a48e54f2b-20230110",
1632816328
rendererPackageName: "react-dom"
1632916329
};
1633016330
(function(internals) {
@@ -16368,7 +16368,7 @@ var devToolsConfig$jscomp$inline_1824 = {
1636816368
scheduleRoot: null,
1636916369
setRefreshHandler: null,
1637016370
getCurrentFiber: null,
16371-
reconcilerVersion: "18.3.0-next-0f4a83596-20230110"
16371+
reconcilerVersion: "18.3.0-next-a48e54f2b-20230110"
1637216372
});
1637316373
assign(Internals, {
1637416374
ReactBrowserEventEmitter: {
@@ -16597,7 +16597,7 @@ exports.unstable_renderSubtreeIntoContainer = function(
1659716597
);
1659816598
};
1659916599
exports.unstable_runWithPriority = runWithPriority;
16600-
exports.version = "18.3.0-next-0f4a83596-20230110";
16600+
exports.version = "18.3.0-next-a48e54f2b-20230110";
1660116601

1660216602
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1660316603
if (

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15875,7 +15875,7 @@ Internals.Events = [
1587515875
var devToolsConfig$jscomp$inline_1792 = {
1587615876
findFiberByHostInstance: getClosestInstanceFromNode,
1587715877
bundleType: 0,
15878-
version: "18.3.0-www-modern-0f4a83596-20230110",
15878+
version: "18.3.0-www-modern-a48e54f2b-20230110",
1587915879
rendererPackageName: "react-dom"
1588015880
};
1588115881
(function(internals) {
@@ -15920,7 +15920,7 @@ var devToolsConfig$jscomp$inline_1792 = {
1592015920
scheduleRoot: null,
1592115921
setRefreshHandler: null,
1592215922
getCurrentFiber: null,
15923-
reconcilerVersion: "18.3.0-next-0f4a83596-20230110"
15923+
reconcilerVersion: "18.3.0-next-a48e54f2b-20230110"
1592415924
});
1592515925
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
1592615926
exports.createPortal = function(children, container) {
@@ -16095,7 +16095,7 @@ exports.unstable_flushControlled = function(fn) {
1609516095
}
1609616096
};
1609716097
exports.unstable_runWithPriority = runWithPriority;
16098-
exports.version = "18.3.0-next-0f4a83596-20230110";
16098+
exports.version = "18.3.0-next-a48e54f2b-20230110";
1609916099

1610016100
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1610116101
if (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (__DEV__) {
1919
var React = require("react");
2020
var ReactDOM = require("react-dom");
2121

22-
var ReactVersion = "18.3.0-www-classic-0f4a83596-20230110";
22+
var ReactVersion = "18.3.0-www-classic-a48e54f2b-20230110";
2323

2424
// This refers to a WWW module.
2525
var warningWWW = require("warning");

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (__DEV__) {
1919
var React = require("react");
2020
var ReactDOM = require("react-dom");
2121

22-
var ReactVersion = "18.3.0-www-modern-0f4a83596-20230110";
22+
var ReactVersion = "18.3.0-www-modern-a48e54f2b-20230110";
2323

2424
// This refers to a WWW module.
2525
var warningWWW = require("warning");

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3633,4 +3633,4 @@ exports.renderToString = function(children, options) {
36333633
'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'
36343634
);
36353635
};
3636-
exports.version = "18.3.0-www-classic-0f4a83596-20230110";
3636+
exports.version = "18.3.0-www-classic-a48e54f2b-20230110";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3546,4 +3546,4 @@ exports.renderToString = function(children, options) {
35463546
'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'
35473547
);
35483548
};
3549-
exports.version = "18.3.0-www-modern-0f4a83596-20230110";
3549+
exports.version = "18.3.0-www-modern-a48e54f2b-20230110";

0 commit comments

Comments
 (0)