From 4be68ef785b9b0e8f6a2c9e2247ff51f7e9b8163 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Mon, 13 Jul 2026 09:02:22 -0700 Subject: [PATCH] Promote fuseboxFrameRecordingEnabled to experimental (#57531) Summary: Pull Request resolved: https://github.com/react/react-native/pull/57531 This feature is Stage 3 and intends to join the canary channel in the next release. In the meantime, opt this into the experimental channel. Changelog: [General][Added] - **React Native DevTools**: Experimental performance screenshots support and `Page.captureScreenshot` is added to the [`EXPERIMENTAL` channel](https://reactnative.dev/docs/releases/release-levels) Reviewed By: rubennorte Differential Revision: D111703888 fbshipit-source-id: 492012e36de324a00984b78924834a7937993f5e --- ...FeatureFlagsOverrides_RNOSS_Experimental_Android.kt | 6 +++++- .../ReactNativeFeatureFlagsOverridesOSSExperimental.h | 10 +++++++++- .../featureflags/ReactNativeFeatureFlags.config.js | 4 ++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsOverrides_RNOSS_Experimental_Android.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsOverrides_RNOSS_Experimental_Android.kt index 14a604ced14..51aa291410b 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsOverrides_RNOSS_Experimental_Android.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsOverrides_RNOSS_Experimental_Android.kt @@ -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<<7103d9c2fa3e2f152ce60b5dff12c0e4>> + * @generated SignedSource<> */ /** @@ -29,6 +29,10 @@ public open class ReactNativeFeatureFlagsOverrides_RNOSS_Experimental_Android : override fun enableSchedulerDelegateInvalidation(): Boolean = true + override fun fuseboxFrameRecordingEnabled(): Boolean = true + + override fun fuseboxScreenshotCaptureEnabled(): Boolean = true + override fun preventShadowTreeCommitExhaustion(): Boolean = true override fun useSharedAnimatedBackend(): Boolean = true diff --git a/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h b/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h index 20ffb27c3e7..1b1667bb726 100644 --- a/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h +++ b/packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h @@ -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<<7341b28bb77aeeec670051149faeae04>> + * @generated SignedSource<> */ /** @@ -39,6 +39,14 @@ class ReactNativeFeatureFlagsOverridesOSSExperimental : public ReactNativeFeatur return true; } + bool fuseboxFrameRecordingEnabled() override { + return true; + } + + bool fuseboxScreenshotCaptureEnabled() override { + return true; + } + bool preventShadowTreeCommitExhaustion() override { return true; } diff --git a/packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js b/packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js index aaef339af77..54ffc48eefc 100644 --- a/packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js +++ b/packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js @@ -666,7 +666,7 @@ const definitions: FeatureFlagDefinitions = { expectedReleaseValue: true, purpose: 'experimentation', }, - ossReleaseStage: 'none', + ossReleaseStage: 'experimental', }, fuseboxNetworkInspectionEnabled: { defaultValue: true, @@ -688,7 +688,7 @@ const definitions: FeatureFlagDefinitions = { expectedReleaseValue: true, purpose: 'experimentation', }, - ossReleaseStage: 'none', + ossReleaseStage: 'experimental', }, optimizedAnimatedPropUpdates: { defaultValue: false,