Skip to content

Commit 4502349

Browse files
huntiefacebook-github-bot
authored andcommitted
Enable Fusebox by default in RNTester (#44895)
Summary: Pull Request resolved: #44895 Enables the new debugger stack (codename Fusebox) in RNTester. This feature is experimental and is enabled for testing purposes only. This change **should not** be adopted as the default by React Native frameworks. Changelog: [Internal] Reviewed By: cortinico, rubennorte, NickGerleman Differential Revision: D58366246
1 parent 33aa83a commit 4502349

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/rn-tester/RNTester/AppDelegate.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ - (BOOL)bridgelessEnabled
149149
// [Experiment] Enable the new debugger stack (codename Fusebox)
150150
- (BOOL)unstable_fuseboxEnabled
151151
{
152-
return false;
152+
return true;
153153
}
154154

155155
#pragma mark - RCTComponentViewFactoryComponentProvider

packages/rn-tester/android/app/src/main/java/com/facebook/react/uiapp/RNTesterApplication.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import com.facebook.react.bridge.ReactApplicationContext
2121
import com.facebook.react.common.assets.ReactFontManager
2222
import com.facebook.react.config.ReactFeatureFlags
2323
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load
24+
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.unstable_loadFusebox
2425
import com.facebook.react.defaults.DefaultReactHost
2526
import com.facebook.react.defaults.DefaultReactNativeHost
2627
import com.facebook.react.module.model.ReactModuleInfo
@@ -138,7 +139,7 @@ class RNTesterApplication : Application(), ReactApplication {
138139
SoLoader.init(this, /* native exopackage */ false)
139140

140141
// [Experiment] Enable the new debugger stack (codename Fusebox)
141-
// unstable_loadFusebox(BuildConfig.IS_NEW_ARCHITECTURE_ENABLED)
142+
unstable_loadFusebox(BuildConfig.IS_NEW_ARCHITECTURE_ENABLED)
142143

143144
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
144145
load()

0 commit comments

Comments
 (0)