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

0 commit comments

Comments
 (0)