mirror of
https://github.com/react/react-native.git
synced 2026-10-12 18:01:51 +08:00
Summary: There is a flow where TM registry is creating a module instance (as registered in the TurboReactPackage), only to discard it if it's not a TM enabled module. This may be fine for many modules, but for module like `UIManagerModule`, this may cause a race condition or other issues, including potential perf regression when accessing UIManager from JS (e.g. for getting native viewConfigs). Changelog: [Internal] Reviewed By: RSNara Differential Revision: D24811838 fbshipit-source-id: 6e1cce6993a6e5c9763773f175083bf52925c910