mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e5080e6171
Summary: ## Rationale The TurboModuleManager should only be concerned with modules. The bridge and RCTInstance integrate the TurboModuleManager with the rest of React Native. Therefore, abstractions used by TurboModules that reach into the rest of React Native should be attached by the bridge or by RCTInstance. ## Changes In this diff, we pull RCTViewRegistry attachment out of the TurboModuleManager. In bridge mode, it'll be attached to TurboModule by the bridge. In bridgeless mode, it'll be attached to TurboModules by the RCTInstance. Changelog: [Internal] Reviewed By: PeteTheHeat Differential Revision: D28086320 fbshipit-source-id: 9d99835bdbb66bb6a41fbd0d8a3970cefae16b81