Skip to content

Commit

Permalink
Enable Fusebox by default in RNTester (#44895)
Browse files Browse the repository at this point in the history
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

fbshipit-source-id: 809a1edb79ced4a7920457ed661cc3d863b35c7b
  • Loading branch information
huntie authored and facebook-github-bot committed Jun 12, 2024
1 parent c92f31d commit 55e08a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/rn-tester/RNTester/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ - (BOOL)bridgelessEnabled
// [Experiment] Enable the new debugger stack (codename Fusebox)
- (BOOL)unstable_fuseboxEnabled
{
return false;
return true;
}

#pragma mark - RCTComponentViewFactoryComponentProvider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.common.assets.ReactFontManager
import com.facebook.react.config.ReactFeatureFlags
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.unstable_loadFusebox
import com.facebook.react.defaults.DefaultReactHost
import com.facebook.react.defaults.DefaultReactNativeHost
import com.facebook.react.module.model.ReactModuleInfo
Expand Down Expand Up @@ -138,7 +139,7 @@ class RNTesterApplication : Application(), ReactApplication {
SoLoader.init(this, /* native exopackage */ false)

// [Experiment] Enable the new debugger stack (codename Fusebox)
// unstable_loadFusebox(BuildConfig.IS_NEW_ARCHITECTURE_ENABLED)
unstable_loadFusebox(BuildConfig.IS_NEW_ARCHITECTURE_ENABLED)

if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
load()
Expand Down

0 comments on commit 55e08a9

Please sign in to comment.