mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
20102ef5b1
Summary: Reverse the order in which we look for modules in TurboModuleRegistry to check TurboModules first, and then fall back to legacy native modules. The main motivation for this is Venice, since requiring NativeModules.js fatals because there's no batched bridge. But we'll probably want to do this eventually anyway. I ran a mobilelab for Marketplace home and am not seeing any significant difference in TTI. Reviewed By: fkgozali Differential Revision: D15703655 fbshipit-source-id: d65a4d7e09077474c30fb3938e38aee63bfa4eca