Skip to content

Commit 0e6781a

Browse files
yungstersjackpope
authored andcommitted
Enable the enableEagerAlternateStateNodeCleanup Feature Flag (#33447)
Enables the `enableEagerAlternateStateNodeCleanup` feature flag for all variants, while maintaining the `__VARIANT__` for the internal React Native flavor for backtesting reasons. ``` $ yarn test ```
1 parent 2cd3c42 commit 0e6781a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/shared/forks/ReactFeatureFlags.native-oss.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const enableSchedulingProfiler = __PROFILE__;
4949
export const enableComponentPerformanceTrack = false;
5050
export const enableScopeAPI = false;
5151
export const enableShallowPropDiffing = false;
52-
export const enableEagerAlternateStateNodeCleanup = false;
52+
export const enableEagerAlternateStateNodeCleanup = true;
5353
export const enableSuspenseAvoidThisFallback = false;
5454
export const enableSuspenseCallback = false;
5555
export const enableTaint = true;

packages/shared/forks/ReactFeatureFlags.test-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const enableShallowPropDiffing = false;
6565
export const enableSiblingPrerendering = true;
6666

6767
export const enableUseEffectCRUDOverload = false;
68-
export const enableEagerAlternateStateNodeCleanup = false;
68+
export const enableEagerAlternateStateNodeCleanup = true;
6969

7070
export const enableYieldingBeforePassive = true;
7171

packages/shared/forks/ReactFeatureFlags.test-renderer.native-fb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const enableSchedulingProfiler = __PROFILE__;
4747
export const enableComponentPerformanceTrack = false;
4848
export const enableScopeAPI = false;
4949
export const enableShallowPropDiffing = false;
50-
export const enableEagerAlternateStateNodeCleanup = false;
50+
export const enableEagerAlternateStateNodeCleanup = true;
5151
export const enableSuspenseAvoidThisFallback = false;
5252
export const enableSuspenseCallback = false;
5353
export const enableTaint = true;

packages/shared/forks/ReactFeatureFlags.test-renderer.www.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const enableShallowPropDiffing = false;
7474
export const enableSiblingPrerendering = true;
7575

7676
export const enableUseEffectCRUDOverload = false;
77-
export const enableEagerAlternateStateNodeCleanup = false;
77+
export const enableEagerAlternateStateNodeCleanup = true;
7878

7979
export const enableHydrationLaneScheduling = true;
8080

packages/shared/forks/ReactFeatureFlags.www.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const disableLegacyMode = true;
110110

111111
export const enableShallowPropDiffing = false;
112112

113-
export const enableEagerAlternateStateNodeCleanup = false;
113+
export const enableEagerAlternateStateNodeCleanup = true;
114114

115115
export const enableLazyPublicInstanceInFabric = false;
116116

0 commit comments

Comments
 (0)