Skip to content

Commit dac56f1

Browse files
authored
Promote fuseboxFrameRecordingEnabled to stable
## Summary Frame timings and screenshots in the React Native DevTools CDP backend have been on in canary since the flag was added. Enable them by default, matching the DevTools frontend, which no longer gates the Performance panel's frames track behind an experiment. **Why now? / Launch support** I always intended to follow up on this. The canary rollout earlier in the year followed significant hardening of this feature on both platforms, including active use in multiple product teams at Meta across various device classes — have been pretty confident this was prod ready for a while. For (and Expo SDK 59), I'll have the cycles to support this (docs, any integration issues) through to launch. Changelog: [General][Changed] - **React Native DevTools**: Frame timings and screenshots in the Performance panel are enabled by default ## Test Plan - `node packages/react-native/scripts/featureflags/index.js --update` regenerated the six flag files; the diff has the same shape as 66b3ae6 ("Promote fuseboxWebSocketEventsEnabled to stable"). - Agent review of any commits on `main` since promotion to canary — nothing flagged. **Sanity check: E2E** With react/react-native-devtools-frontend#288 applied. | iOS | Android | | - | - | | <img width="1676" height="937" alt="Screenshot 2026-10-30 at 18 30 58" src="https://github.com/user-attachments/assets/455eedf5-0c1c-4f0c-86ea-800fdcc69175" /> | <img width="1676" height="938" alt="Screenshot 2026-10-30 at 18 33 05" src="https://github.com/user-attachments/assets/e8c1500d-48e8-43c1-a3d7-4d72b2de3f1a" /> | Differential Revision: D129345367 Pull Request resolved: #59686
1 parent 788dc10 commit dac56f1

7 files changed

Lines changed: 11 additions & 17 deletions

File tree

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

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<<92e293070f5407d0096ab7f3fd208d45>>
7+
* @generated SignedSource<<e844f0dd0aa8fd1d9d2d12344c9f977a>>
88
*/
99

1010
/**
@@ -155,7 +155,7 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi
155155

156156
override fun fuseboxEnabledRelease(): Boolean = false
157157

158-
override fun fuseboxFrameRecordingEnabled(): Boolean = false
158+
override fun fuseboxFrameRecordingEnabled(): Boolean = true
159159

160160
override fun fuseboxScreenshotCaptureEnabled(): Boolean = true
161161

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

Lines changed: 1 addition & 3 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<<fd455a2209f9998345d96f9e81697113>>
7+
* @generated SignedSource<<1c1713da2868b9ceb7acc91ecb0c2f28>>
88
*/
99

1010
/**
@@ -35,8 +35,6 @@ public open class ReactNativeFeatureFlagsOverrides_RNOSS_Canary_Android : ReactN
3535

3636
override fun fixBorderlessRippleAndroid(): Boolean = true
3737

38-
override fun fuseboxFrameRecordingEnabled(): Boolean = true
39-
4038
override fun useNativeViewConfigsInBridgelessMode(): Boolean = true
4139

4240
override fun useTurboModuleInterop(): Boolean = true

‎packages/react-native/ReactCommon/jsinspector-modern/tests/JsiIntegrationTest.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ TYPED_TEST(JsiIntegrationPortableTest, ReactNativeApplicationEnable) {
358358
"method": "ReactNativeApplication.metadataUpdated",
359359
"params": {
360360
"integrationName": "JsiIntegrationTest",
361-
"unstable_frameRecordingEnabled": false,
361+
"unstable_frameRecordingEnabled": true,
362362
"unstable_isProfilingBuild": false,
363363
"unstable_networkInspectionEnabled": true
364364
}

‎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<<6f34d9978d5cd0ec5ecb7360c2f4720f>>
7+
* @generated SignedSource<<17288b4f2e30e06448c4affd54918ade>>
88
*/
99

1010
/**
@@ -294,7 +294,7 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
294294
}
295295

296296
bool fuseboxFrameRecordingEnabled() override {
297-
return false;
297+
return true;
298298
}
299299

300300
bool fuseboxScreenshotCaptureEnabled() override {

‎packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlagsOverridesOSSCanary.h‎

Lines changed: 1 addition & 5 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<<739fbf5a89bc456157ea470c43745e9d>>
7+
* @generated SignedSource<<3994d16ce8555b34a8ab8e18291b03cc>>
88
*/
99

1010
/**
@@ -53,10 +53,6 @@ class ReactNativeFeatureFlagsOverridesOSSCanary : public ReactNativeFeatureFlags
5353
return true;
5454
}
5555

56-
bool fuseboxFrameRecordingEnabled() override {
57-
return true;
58-
}
59-
6056
bool useNativeViewConfigsInBridgelessMode() override {
6157
return true;
6258
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,15 +761,15 @@ const definitions: FeatureFlagDefinitions = {
761761
ossReleaseStage: 'none',
762762
},
763763
fuseboxFrameRecordingEnabled: {
764-
defaultValue: false,
764+
defaultValue: true,
765765
metadata: {
766766
dateAdded: '2026-03-05',
767767
description:
768768
'Enable frame timings and screenshots support in the React Native DevTools CDP backend. This flag is global and should not be changed across React Host lifetimes.',
769769
expectedReleaseValue: true,
770770
purpose: 'experimentation',
771771
},
772-
ossReleaseStage: 'canary',
772+
ossReleaseStage: 'stable',
773773
},
774774
fuseboxScreenshotCaptureEnabled: {
775775
defaultValue: true,

‎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<<b57563a16ffc6bd7de85d3e2305ffaab>>
7+
* @generated SignedSource<<248a6701e98d6850499d84dd5c2bff5f>>
88
* @flow strict
99
* @noformat
1010
*/
@@ -490,7 +490,7 @@ export const fuseboxEnabledRelease: Getter<boolean> = createNativeFlagGetter('fu
490490
/**
491491
* Enable frame timings and screenshots support in the React Native DevTools CDP backend. This flag is global and should not be changed across React Host lifetimes.
492492
*/
493-
export const fuseboxFrameRecordingEnabled: Getter<boolean> = createNativeFlagGetter('fuseboxFrameRecordingEnabled', false);
493+
export const fuseboxFrameRecordingEnabled: Getter<boolean> = createNativeFlagGetter('fuseboxFrameRecordingEnabled', true);
494494
/**
495495
* Enable Page.captureScreenshot CDP method support in the React Native DevTools CDP backend. This flag is global and should not be changed across React Host lifetimes.
496496
*/

0 commit comments

Comments
 (0)