Enable/mark enableBridgelessArchitecture flag as stable (#57529)

Summary:
Pull Request resolved: https://github.com/react/react-native/pull/57529

The New Arch has been Stage 4 / rolled out since 0.76.

Before cleaning up this flag completely, defensively flip its default value to `true`.

Changelog: [Internal] - Net flag value is the same from all entry points

Reviewed By: rozele, cortinico

Differential Revision: D111703112

fbshipit-source-id: d3d08a75a949780899a701b8d3830fdf0fc4a45a
This commit is contained in:
Alex Hunt authored and meta-codesync[bot] committed 2026-07-13 09:02:22 -07:00
1 parent b31ba29d2d
commit 798b550dd4
9 files changed
+11 -23

No files matched your search

@@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<5c36c0a5e9e67b43016ab02eab0ecd8f>>
* @generated SignedSource<<9b295106ef57d7fa85846c57bb74a090>>
*/
/**
@@ -51,7 +51,7 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi
override fun enableAndroidTextMeasurementOptimizations(): Boolean = false
override fun enableBridgelessArchitecture(): Boolean = false
override fun enableBridgelessArchitecture(): Boolean = true
override fun enableCppPropsIteratorSetter(): Boolean = false
@@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<d0524c8293f029992b78e4f9479b8a1d>>
* @generated SignedSource<<1664bdb6cd521d608b9bab74df43eb76>>
*/
/**
@@ -27,8 +27,6 @@ public open class ReactNativeFeatureFlagsOverrides_RNOSS_Canary_Android : ReactN
override fun enableAccessibilityOrder(): Boolean = true
override fun enableBridgelessArchitecture(): Boolean = true
override fun enableIntersectionObserverByDefault(): Boolean = true
override fun enableSwiftUIBasedFilters(): Boolean = true
@@ -23,8 +23,6 @@ package com.facebook.react.internal.featureflags
public open class ReactNativeNewArchitectureFeatureFlagsDefaults() :
ReactNativeFeatureFlagsDefaults() {
override fun enableBridgelessArchitecture(): Boolean = true
override fun useNativeViewConfigsInBridgelessMode(): Boolean = true
override fun useTurboModuleInterop(): Boolean = true
@@ -360,7 +360,7 @@ TYPED_TEST(JsiIntegrationPortableTest, ReactNativeApplicationEnable) {
"integrationName": "JsiIntegrationTest",
"unstable_frameRecordingEnabled": false,
"unstable_isProfilingBuild": false,
"unstable_networkInspectionEnabled": false
"unstable_networkInspectionEnabled": true
}
})"));
@@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<c511b77030561c7a6655eb512082462c>>
* @generated SignedSource<<2c09412cdf8edaf4f7d6d90a446ce6fa>>
*/
/**
@@ -84,7 +84,7 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
}
bool enableBridgelessArchitecture() override {
return false;
return true;
}
bool enableCppPropsIteratorSetter() override {
@@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<5d286510a4f8642adcc9d38556dd60dd>>
* @generated SignedSource<<8f83d4d3c457e0f6acda799cfe58144a>>
*/
/**
@@ -35,10 +35,6 @@ class ReactNativeFeatureFlagsOverridesOSSCanary : public ReactNativeFeatureFlags
return true;
}
bool enableBridgelessArchitecture() override {
return true;
}
bool enableIntersectionObserverByDefault() override {
return true;
}
@@ -13,10 +13,6 @@ namespace facebook::react {
class ReactNativeFeatureFlagsOverridesOSSStable : public ReactNativeFeatureFlagsDefaults {
public:
bool enableBridgelessArchitecture() override
{
return true;
}
bool useNativeViewConfigsInBridgelessMode() override
{
return true;
@@ -203,13 +203,13 @@ const definitions: FeatureFlagDefinitions = {
ossReleaseStage: 'none',
},
enableBridgelessArchitecture: {
defaultValue: false,
defaultValue: true,
metadata: {
description: 'Feature flag to enable the new bridgeless architecture.',
expectedReleaseValue: true,
purpose: 'release',
},
ossReleaseStage: 'canary',
ossReleaseStage: 'stable',
},
enableCppPropsIteratorSetter: {
defaultValue: false,
@@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<ff39edecf287d3fe3638da2f71e6bd1c>>
* @generated SignedSource<<36a98575851fdf73cb45a0d34c3a8755>>
* @flow strict
* @noformat
*/
@@ -270,7 +270,7 @@ export const enableAndroidTextMeasurementOptimizations: Getter<boolean> = create
/**
* Feature flag to enable the new bridgeless architecture.
*/
export const enableBridgelessArchitecture: Getter<boolean> = createNativeFlagGetter('enableBridgelessArchitecture', false);
export const enableBridgelessArchitecture: Getter<boolean> = createNativeFlagGetter('enableBridgelessArchitecture', true);
/**
* Enable prop iterator setter-style construction of Props in C++ (this flag is not used in Java).
*/