react-native-macos/packages
Kevin Gozali 803a26cb00 TM Android: Avoid creating TM instance if the module is not TM enabled
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
2020-11-09 02:24:41 -08:00
..
assets Remove worker param from rn_bundle() macro 2020-11-04 10:10:10 -08:00
babel-plugin-codegen Extend babel-plugin-codegen to generate TurboModule JS codegen 2020-11-08 14:24:05 -08:00
eslint-config-react-native-community chore: deduplicate lock, update packages repository fields (#30044) 2020-09-28 22:41:50 -07:00
eslint-plugin-codegen Use custom require hook to strip Flow types from NativeModule spec parser 2020-10-27 00:41:47 -07:00
eslint-plugin-react-native-community chore: deduplicate lock, update packages repository fields (#30044) 2020-09-28 22:41:50 -07:00
normalize-color Remove worker param from rn_bundle() macro 2020-11-04 10:10:10 -08:00
polyfills chore: deduplicate lock, update packages repository fields (#30044) 2020-09-28 22:41:50 -07:00
react-native-codegen Remove pipes from Object literal Flow types 2020-11-06 16:24:44 -08:00
rn-tester TM Android: Avoid creating TM instance if the module is not TM enabled 2020-11-09 02:24:41 -08:00