Skip to content

Commit 0e3891a

Browse files
committed
avoid using the script feature flags --update
1 parent 5615a33 commit 0e3891a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt

Lines changed: 1 addition & 1 deletion
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<<74e2802a91ca1c6a752fcfec21cdf97e>>
7+
* @generated SignedSource<<16a044e68001307dc901537101b73db9>>
88
*/
99

1010
/**

packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h

Lines changed: 2 additions & 2 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<<274474e3b1be4f595c5dff2959b78341>>
7+
* @generated SignedSource<<7ee9e37d5f14514dfccd01a6fdda920b>>
88
*/
99

1010
/**
@@ -200,7 +200,7 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
200200
}
201201

202202
bool useShadowNodeStateOnClone() override {
203-
return true;
203+
return false;
204204
}
205205

206206
bool useTurboModuleInterop() override {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ const definitions: FeatureFlagDefinitions = {
459459
},
460460
},
461461
useShadowNodeStateOnClone: {
462-
defaultValue: true,
462+
defaultValue: false,
463463
metadata: {
464464
dateAdded: '2025-04-16',
465465
description:

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

Lines changed: 2 additions & 2 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<<89b06cbba840fbb8a53cdda5dc83a233>>
7+
* @generated SignedSource<<7adbf7056191e6b287729fc4befbdcbf>>
88
* @flow strict
99
*/
1010

@@ -363,7 +363,7 @@ export const useRuntimeShadowNodeReferenceUpdate: Getter<boolean> = createNative
363363
/**
364364
* Use the state stored on the source shadow node when cloning it instead of reading in the most recent state on the shadow node family.
365365
*/
366-
export const useShadowNodeStateOnClone: Getter<boolean> = createNativeFlagGetter('useShadowNodeStateOnClone', true);
366+
export const useShadowNodeStateOnClone: Getter<boolean> = createNativeFlagGetter('useShadowNodeStateOnClone', false);
367367
/**
368368
* In Bridgeless mode, should legacy NativeModules use the TurboModule system?
369369
*/

0 commit comments

Comments
 (0)