Skip to content

Commit bbf2038

Browse files
committed
Remove feature flag enableDO_NOT_USE_disableStrictPassiveEffect (#33524)
DiffTrain build for [5d24c64](5d24c64)
1 parent 5f92c9a commit bbf2038

34 files changed

+126
-270
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a00ca6f6b51e46a0ccec54a2231bfe7a1ed9ae1d
1+
5d24c64cc9c019fc644c4c6f0da640131b80ba18
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a00ca6f6b51e46a0ccec54a2231bfe7a1ed9ae1d
1+
5d24c64cc9c019fc644c4c6f0da640131b80ba18

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ __DEV__ &&
14761476
exports.useTransition = function () {
14771477
return resolveDispatcher().useTransition();
14781478
};
1479-
exports.version = "19.2.0-www-classic-a00ca6f6-20250611";
1479+
exports.version = "19.2.0-www-classic-5d24c64c-20250616";
14801480
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14811481
"function" ===
14821482
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
@@ -1476,7 +1476,7 @@ __DEV__ &&
14761476
exports.useTransition = function () {
14771477
return resolveDispatcher().useTransition();
14781478
};
1479-
exports.version = "19.2.0-www-modern-a00ca6f6-20250611";
1479+
exports.version = "19.2.0-www-modern-5d24c64c-20250616";
14801480
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
14811481
"function" ===
14821482
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
@@ -627,4 +627,4 @@ exports.useSyncExternalStore = function (
627627
exports.useTransition = function () {
628628
return ReactSharedInternals.H.useTransition();
629629
};
630-
exports.version = "19.2.0-www-classic-a00ca6f6-20250611";
630+
exports.version = "19.2.0-www-classic-5d24c64c-20250616";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,4 +627,4 @@ exports.useSyncExternalStore = function (
627627
exports.useTransition = function () {
628628
return ReactSharedInternals.H.useTransition();
629629
};
630-
exports.version = "19.2.0-www-modern-a00ca6f6-20250611";
630+
exports.version = "19.2.0-www-modern-5d24c64c-20250616";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ exports.useSyncExternalStore = function (
631631
exports.useTransition = function () {
632632
return ReactSharedInternals.H.useTransition();
633633
};
634-
exports.version = "19.2.0-www-classic-a00ca6f6-20250611";
634+
exports.version = "19.2.0-www-classic-5d24c64c-20250616";
635635
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
636636
"function" ===
637637
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
@@ -631,7 +631,7 @@ exports.useSyncExternalStore = function (
631631
exports.useTransition = function () {
632632
return ReactSharedInternals.H.useTransition();
633633
};
634-
exports.version = "19.2.0-www-modern-a00ca6f6-20250611";
634+
exports.version = "19.2.0-www-modern-5d24c64c-20250616";
635635
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
636636
"function" ===
637637
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5791,8 +5791,7 @@ __DEV__ &&
57915791
)));
57925792
}
57935793
function mountEffect(create, deps) {
5794-
0 !== (currentlyRenderingFiber.mode & 16) &&
5795-
0 === (currentlyRenderingFiber.mode & 64)
5794+
0 !== (currentlyRenderingFiber.mode & 16)
57965795
? mountEffectImpl(276826112, Passive, create, deps)
57975796
: mountEffectImpl(8390656, Passive, create, deps);
57985797
}
@@ -16077,8 +16076,7 @@ __DEV__ &&
1607716076
fiber,
1607816077
doubleInvokeEffectsOnFiber,
1607916078
root,
16080-
fiber,
16081-
0 === (fiber.mode & 64)
16079+
fiber
1608216080
)
1608316081
: recursivelyTraverseAndDoubleInvokeEffectsInDEV(
1608416082
root,
@@ -16105,15 +16103,12 @@ __DEV__ &&
1610516103
}
1610616104
}
1610716105
function doubleInvokeEffectsOnFiber(root, fiber) {
16108-
var shouldDoubleInvokePassiveEffects =
16109-
2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : !0;
1611016106
setIsStrictModeForDevtools(!0);
1611116107
try {
1611216108
disappearLayoutEffects(fiber),
16113-
shouldDoubleInvokePassiveEffects && disconnectPassiveEffect(fiber),
16109+
disconnectPassiveEffect(fiber),
1611416110
reappearLayoutEffects(root, fiber.alternate, fiber, !1),
16115-
shouldDoubleInvokePassiveEffects &&
16116-
reconnectPassiveEffects(root, fiber, 0, null, !1, 0);
16111+
reconnectPassiveEffects(root, fiber, 0, null, !1, 0);
1611716112
} finally {
1611816113
setIsStrictModeForDevtools(!1);
1611916114
}
@@ -16511,9 +16506,6 @@ __DEV__ &&
1651116506
case REACT_STRICT_MODE_TYPE:
1651216507
fiberTag = 8;
1651316508
mode |= 24;
16514-
enableDO_NOT_USE_disableStrictPassiveEffect &&
16515-
pendingProps.DO_NOT_USE_disableStrictPassiveEffect &&
16516-
(mode |= 64);
1651716509
break;
1651816510
case REACT_PROFILER_TYPE:
1651916511
return (
@@ -16876,8 +16868,6 @@ __DEV__ &&
1687616868
dynamicFeatureFlags.disableLegacyContextForFunctionComponents,
1687716869
disableSchedulerTimeoutInWorkLoop =
1687816870
dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop,
16879-
enableDO_NOT_USE_disableStrictPassiveEffect =
16880-
dynamicFeatureFlags.enableDO_NOT_USE_disableStrictPassiveEffect,
1688116871
enableHiddenSubtreeInsertionEffectCleanup =
1688216872
dynamicFeatureFlags.enableHiddenSubtreeInsertionEffectCleanup,
1688316873
enableInfiniteRenderLoopDetection =
@@ -19066,10 +19056,10 @@ __DEV__ &&
1906619056
(function () {
1906719057
var internals = {
1906819058
bundleType: 1,
19069-
version: "19.2.0-www-classic-a00ca6f6-20250611",
19059+
version: "19.2.0-www-classic-5d24c64c-20250616",
1907019060
rendererPackageName: "react-art",
1907119061
currentDispatcherRef: ReactSharedInternals,
19072-
reconcilerVersion: "19.2.0-www-classic-a00ca6f6-20250611"
19062+
reconcilerVersion: "19.2.0-www-classic-5d24c64c-20250616"
1907319063
};
1907419064
internals.overrideHookState = overrideHookState;
1907519065
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19103,7 +19093,7 @@ __DEV__ &&
1910319093
exports.Shape = Shape;
1910419094
exports.Surface = Surface;
1910519095
exports.Text = Text;
19106-
exports.version = "19.2.0-www-classic-a00ca6f6-20250611";
19096+
exports.version = "19.2.0-www-classic-5d24c64c-20250616";
1910719097
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1910819098
"function" ===
1910919099
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5697,8 +5697,7 @@ __DEV__ &&
56975697
)));
56985698
}
56995699
function mountEffect(create, deps) {
5700-
0 !== (currentlyRenderingFiber.mode & 16) &&
5701-
0 === (currentlyRenderingFiber.mode & 64)
5700+
0 !== (currentlyRenderingFiber.mode & 16)
57025701
? mountEffectImpl(276826112, Passive, create, deps)
57035702
: mountEffectImpl(8390656, Passive, create, deps);
57045703
}
@@ -15891,8 +15890,7 @@ __DEV__ &&
1589115890
fiber,
1589215891
doubleInvokeEffectsOnFiber,
1589315892
root,
15894-
fiber,
15895-
0 === (fiber.mode & 64)
15893+
fiber
1589615894
)
1589715895
: recursivelyTraverseAndDoubleInvokeEffectsInDEV(
1589815896
root,
@@ -15919,15 +15917,12 @@ __DEV__ &&
1591915917
}
1592015918
}
1592115919
function doubleInvokeEffectsOnFiber(root, fiber) {
15922-
var shouldDoubleInvokePassiveEffects =
15923-
2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : !0;
1592415920
setIsStrictModeForDevtools(!0);
1592515921
try {
1592615922
disappearLayoutEffects(fiber),
15927-
shouldDoubleInvokePassiveEffects && disconnectPassiveEffect(fiber),
15923+
disconnectPassiveEffect(fiber),
1592815924
reappearLayoutEffects(root, fiber.alternate, fiber, !1),
15929-
shouldDoubleInvokePassiveEffects &&
15930-
reconnectPassiveEffects(root, fiber, 0, null, !1, 0);
15925+
reconnectPassiveEffects(root, fiber, 0, null, !1, 0);
1593115926
} finally {
1593215927
setIsStrictModeForDevtools(!1);
1593315928
}
@@ -16325,9 +16320,6 @@ __DEV__ &&
1632516320
case REACT_STRICT_MODE_TYPE:
1632616321
fiberTag = 8;
1632716322
mode |= 24;
16328-
enableDO_NOT_USE_disableStrictPassiveEffect &&
16329-
pendingProps.DO_NOT_USE_disableStrictPassiveEffect &&
16330-
(mode |= 64);
1633116323
break;
1633216324
case REACT_PROFILER_TYPE:
1633316325
return (
@@ -16653,8 +16645,6 @@ __DEV__ &&
1665316645
dynamicFeatureFlags.disableDefaultPropsExceptForClasses,
1665416646
disableSchedulerTimeoutInWorkLoop =
1665516647
dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop,
16656-
enableDO_NOT_USE_disableStrictPassiveEffect =
16657-
dynamicFeatureFlags.enableDO_NOT_USE_disableStrictPassiveEffect,
1665816648
enableHiddenSubtreeInsertionEffectCleanup =
1665916649
dynamicFeatureFlags.enableHiddenSubtreeInsertionEffectCleanup,
1666016650
enableInfiniteRenderLoopDetection =
@@ -18838,10 +18828,10 @@ __DEV__ &&
1883818828
(function () {
1883918829
var internals = {
1884018830
bundleType: 1,
18841-
version: "19.2.0-www-modern-a00ca6f6-20250611",
18831+
version: "19.2.0-www-modern-5d24c64c-20250616",
1884218832
rendererPackageName: "react-art",
1884318833
currentDispatcherRef: ReactSharedInternals,
18844-
reconcilerVersion: "19.2.0-www-modern-a00ca6f6-20250611"
18834+
reconcilerVersion: "19.2.0-www-modern-5d24c64c-20250616"
1884518835
};
1884618836
internals.overrideHookState = overrideHookState;
1884718837
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18875,7 +18865,7 @@ __DEV__ &&
1887518865
exports.Shape = Shape;
1887618866
exports.Surface = Surface;
1887718867
exports.Text = Text;
18878-
exports.version = "19.2.0-www-modern-a00ca6f6-20250611";
18868+
exports.version = "19.2.0-www-modern-5d24c64c-20250616";
1887918869
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1888018870
"function" ===
1888118871
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)