Skip to content

Commit

Permalink
Make bridgeless the default when the New Arch is enabled (#42714)
Browse files Browse the repository at this point in the history
Summary:

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
  • Loading branch information
cipolleschi authored and facebook-github-bot committed Jan 30, 2024
1 parent e3e5825 commit 707411b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ 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
@JvmOverloads
fun load(
turboModulesEnabled: Boolean = true,
fabricEnabled: Boolean = true,
bridgelessEnabled: Boolean = false
bridgelessEnabled: Boolean = true
) {
val (isValid, errorMessage) =
isConfigurationValid(turboModulesEnabled, fabricEnabled, bridgelessEnabled)
Expand Down

0 comments on commit 707411b

Please sign in to comment.