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:
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
  • Loading branch information
cipolleschi authored and facebook-github-bot committed Jan 30, 2024
1 parent c91af77 commit fe337f2
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 fe337f2

Please sign in to comment.