Open RSNara opened 3 days ago
This pull request was exported from Phabricator. Differential Revision: D65896934
This pull request was exported from Phabricator. Differential Revision: D65896934
This pull request was exported from Phabricator. Differential Revision: D65896934
This pull request was exported from Phabricator. Differential Revision: D65896934
This pull request was exported from Phabricator. Differential Revision: D65896934
Summary:
Changes
Now:
| JS API | Bridge | [Before] Bridgeless | [Before] Bridgeless w/ Interop| [After] Bridgeless | global.__turboModuleProxy | turbo modules | turbo modules | turbo modules |deleted | global.nativeModuleProxy | legacy modules | error | legacy modules | turbo + legacy modules
Justification
This reduces the cost for adopting the new architecture:
This simplifies the interop layer logic in bridgeless: all modules come from the same thing.
Changelog: [General][Breaking] Bridgeless: Make NativeModules.foo load turbomodules (unset turboModuleProxy in bridgeless).
Differential Revision: D65896934