Skip to content

Commit 139f3d5

Browse files
lunaleapsfacebook-github-bot
authored andcommitted
Clean up double render flag (#51552)
Summary: Pull Request resolved: #51552 Changelog: [Internal] - Clean up double state render experiment Reviewed By: yungsters Differential Revision: D75248135 fbshipit-source-id: 360c7918ae7b7e7f3ddd76a58d54daf31e4b122a
1 parent 1977dd6 commit 139f3d5

2 files changed

Lines changed: 1 addition & 18 deletions

File tree

packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -632,17 +632,6 @@ const definitions: FeatureFlagDefinitions = {
632632
},
633633
ossReleaseStage: 'none',
634634
},
635-
enableVirtualViewDoubleStateHidden: {
636-
defaultValue: false,
637-
metadata: {
638-
dateAdded: '2025-05-10',
639-
description:
640-
'Enables a VirtualView workaround that triggers a second state update when changing to hidden mode.',
641-
expectedReleaseValue: false,
642-
purpose: 'experimentation',
643-
},
644-
ossReleaseStage: 'none',
645-
},
646635
fixVirtualizeListCollapseWindowSize: {
647636
defaultValue: false,
648637
metadata: {

packages/react-native/src/private/featureflags/ReactNativeFeatureFlags.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<81be36e22e6ec5f6720c89089d725086>>
7+
* @generated SignedSource<<2b128035e6890d34737a2cfc5d8fa5ad>>
88
* @flow strict
99
* @noformat
1010
*/
@@ -35,7 +35,6 @@ export type ReactNativeFeatureFlagsJsOnly = $ReadOnly<{
3535
disableInteractionManager: Getter<boolean>,
3636
enableAccessToHostTreeInFabric: Getter<boolean>,
3737
enableVirtualViewDebugFeatures: Getter<boolean>,
38-
enableVirtualViewDoubleStateHidden: Getter<boolean>,
3938
fixVirtualizeListCollapseWindowSize: Getter<boolean>,
4039
isLayoutAnimationEnabled: Getter<boolean>,
4140
reduceDefaultPropsInView: Getter<boolean>,
@@ -137,11 +136,6 @@ export const enableAccessToHostTreeInFabric: Getter<boolean> = createJavaScriptF
137136
*/
138137
export const enableVirtualViewDebugFeatures: Getter<boolean> = createJavaScriptFlagGetter('enableVirtualViewDebugFeatures', false);
139138

140-
/**
141-
* Enables a VirtualView workaround that triggers a second state update when changing to hidden mode.
142-
*/
143-
export const enableVirtualViewDoubleStateHidden: Getter<boolean> = createJavaScriptFlagGetter('enableVirtualViewDoubleStateHidden', false);
144-
145139
/**
146140
* Fixing an edge case where the current window size is not properly calculated with fast scrolling. Window size collapsed to 1 element even if windowSize more than the current amount of elements
147141
*/

0 commit comments

Comments
 (0)