mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41468 Currently ReactPackageTurboModuleManagerDelegate uses ReactModuleInfos to create turbo modules. We want to see if it's possible to remove ReactModuleInfo from React Native's public API. Therefore, we are forking the implementation of each each method inside ReactPackageTurboModuleManagerDelegate: - **lazy mode:** doesn't use ReactModuleInfo - **control:** uses ReactModuleInfo This optimization was previosuly implemented outside of ReactPackageTurboModuleManagerDelegate. But, to simplify things, we are just pulling it inside the ReactPackageTurboModuleManagerDelegate. Changelog: [Internal] Reviewed By: philIip, mdvacca Differential Revision: D51093697 fbshipit-source-id: 6eb11020e0bf87eb704b35b990a0f14f157eea66