Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Fusebox by default #45469

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading