mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make bridgeless the default when the New Arch is enabled (#42714)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42714 For 0.74, we would like to have Bridgeless as the default when the New Architecture is enabled. ## Changelog: [Android][Breaking] - Make bridgeless the default when the New Arch is enabled Reviewed By: cortinico Differential Revision: D52600227 fbshipit-source-id: 0d967c73cd805710c501c020ad892f059a0fb117
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c91af773fa
commit
fe337f25be
+3
-2
@@ -19,7 +19,8 @@ import com.facebook.react.config.ReactFeatureFlags
|
||||
* By default it loads a library called `appmodules`. `appmodules` is a convention used to refer to
|
||||
* the application dynamic library. If changed here should be updated also inside the template.
|
||||
*
|
||||
* By default it also enables both TurboModules, Fabric and Concurrent React (aka React 18)
|
||||
* By default it also enables both TurboModules, Fabric and Concurrent React (aka React 18), and
|
||||
* Bridgeless
|
||||
*/
|
||||
object DefaultNewArchitectureEntryPoint {
|
||||
@JvmStatic
|
||||
@@ -27,7 +28,7 @@ object DefaultNewArchitectureEntryPoint {
|
||||
fun load(
|
||||
turboModulesEnabled: Boolean = true,
|
||||
fabricEnabled: Boolean = true,
|
||||
bridgelessEnabled: Boolean = false
|
||||
bridgelessEnabled: Boolean = true
|
||||
) {
|
||||
val (isValid, errorMessage) =
|
||||
isConfigurationValid(turboModulesEnabled, fabricEnabled, bridgelessEnabled)
|
||||
|
||||
Reference in New Issue
Block a user