Skip to content

Commit

Permalink
Enable Fusebox by default (facebook#45469)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#45469

Enables React Native DevTools by default on `main`, ahead of the 0.76 release. We've observed no new bug reports internally over the last two weeks, and are moving forward with our rollout plan.

Changelog: [Internal]

Reviewed By: blakef

Differential Revision: D59804882

fbshipit-source-id: 0cb6302f4d940718786db2e5d8fb652fae6a8c54
  • Loading branch information
huntie authored and facebook-github-bot committed Jul 16, 2024
1 parent 12f58a6 commit c47b04b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<<1f8a830a3dec9278f4cd387bb706864e>>
* @generated SignedSource<<b1b7c96550acfde22c054d90fd691b49>>
*/

/**
Expand Down Expand Up @@ -59,7 +59,7 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi

override fun forceBatchingMountItemsOnAndroid(): Boolean = false

override fun fuseboxEnabledDebug(): Boolean = false
override fun fuseboxEnabledDebug(): Boolean = true

override fun fuseboxEnabledRelease(): Boolean = false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<<d375536eb37dcdadbaacd2e6612a8598>>
* @generated SignedSource<<ebec2a3e1d7ef46a365a1a401c1e35be>>
*/

/**
Expand Down Expand Up @@ -100,7 +100,7 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
}

bool fuseboxEnabledDebug() override {
return false;
return true;
}

bool fuseboxEnabledRelease() override {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const definitions: FeatureFlagDefinitions = {
'Forces the mounting layer on Android to always batch mount items instead of dispatching them immediately. This might fix some crashes related to synchronous state updates, where some views dispatch state updates during mount.',
},
fuseboxEnabledDebug: {
defaultValue: false,
defaultValue: true,
description:
'Flag determining if the React Native DevTools (Fusebox) CDP backend should be enabled in debug builds. This flag is global and should not be changed across React Host lifetimes.',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<<443034310c104784714bb59761335f77>>
* @generated SignedSource<<412289b5c998b3ae03d8b842704523ba>>
* @flow strict-local
*/

Expand Down Expand Up @@ -206,7 +206,7 @@ export const forceBatchingMountItemsOnAndroid: Getter<boolean> = createNativeFla
/**
* Flag determining if the React Native DevTools (Fusebox) CDP backend should be enabled in debug builds. This flag is global and should not be changed across React Host lifetimes.
*/
export const fuseboxEnabledDebug: Getter<boolean> = createNativeFlagGetter('fuseboxEnabledDebug', false);
export const fuseboxEnabledDebug: Getter<boolean> = createNativeFlagGetter('fuseboxEnabledDebug', true);
/**
* Flag determining if the React Native DevTools (Fusebox) CDP backend should be enabled in release builds. This flag is global and should not be changed across React Host lifetimes.
*/
Expand Down

0 comments on commit c47b04b

Please sign in to comment.