Skip to content

Commit fe337f2

Browse files
cipolleschifacebook-github-bot
authored andcommitted
Make bridgeless the default when the New Arch is enabled (#42714)
Summary: Pull Request resolved: #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
1 parent c91af77 commit fe337f2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultNewArchitectureEntryPoint.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@ import com.facebook.react.config.ReactFeatureFlags
1919
* By default it loads a library called `appmodules`. `appmodules` is a convention used to refer to
2020
* the application dynamic library. If changed here should be updated also inside the template.
2121
*
22-
* By default it also enables both TurboModules, Fabric and Concurrent React (aka React 18)
22+
* By default it also enables both TurboModules, Fabric and Concurrent React (aka React 18), and
23+
* Bridgeless
2324
*/
2425
object DefaultNewArchitectureEntryPoint {
2526
@JvmStatic
2627
@JvmOverloads
2728
fun load(
2829
turboModulesEnabled: Boolean = true,
2930
fabricEnabled: Boolean = true,
30-
bridgelessEnabled: Boolean = false
31+
bridgelessEnabled: Boolean = true
3132
) {
3233
val (isValid, errorMessage) =
3334
isConfigurationValid(turboModulesEnabled, fabricEnabled, bridgelessEnabled)

0 commit comments

Comments
 (0)