mirror of
https://github.com/react/react-native.git
synced 2026-09-28 21:33:11 +08:00
Summary: Pull Request resolved: https://github.com/react/react-native/pull/58469 TurboModules, Fabric and bridgeless are all unconditionally enabled in the New Architecture, so every remaining flag on `DefaultNewArchitectureEntryPoint` was dead configuration. Reduce it to the one thing it still selects: the release level. Removes the deprecated parameterized `load(...)` overloads, the `fabricEnabled`, `turboModulesEnabled` and `concurrentReactEnabled` getters, and `isConfigurationValid`. Call sites that passed `fabricEnabled` to `DefaultReactActivityDelegate` now use its two-argument constructor, which already ignored the flag. Changelog: [Android][Breaking] - Remove the deprecated `DefaultNewArchitectureEntryPoint.load(turboModulesEnabled, fabricEnabled)` overloads; use `load()` instead [Android][Breaking] - Remove `DefaultNewArchitectureEntryPoint.fabricEnabled`, `turboModulesEnabled`, `concurrentReactEnabled` and `isConfigurationValid` Reviewed By: javache Differential Revision: D119370657 fbshipit-source-id: 4964d5163af9bc1a74e3a4b9ae6933df98683e5f