Files
react-native/packages
Phillip Pan 268d9edad6 decouple root views from native modules (#38872)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38872

## Changelog:

[iOS][Breaking] - RCTTurboModuleRegistry is unavailable in RCTRootView and RCTSurfaceHostingProxyRootView

now after all the diffs in this stack, we can finally decouple the root views from the module registry, and remove the dependency from fabric root views on bridge.

for what i'm breaking, i only found this module library: https://github.com/flyskywhy/react-native-blob-util/blob/3d5155e11426fa458a9e2dbf7fe691cf9863ff01/ios/ReactNativeBlobUtil/ReactNativeBlobUtil.mm#L45. they can replace this with synthesize moduleRegistry API to get access.

for eventDispatcher, i didn't see anyone using this.

Reviewed By: mdvacca, cipolleschi

Differential Revision: D48179428

fbshipit-source-id: d08fbd0adf6177d56e32a0ce4b21b6acb0682a2d
2023-08-29 14:23:01 -07:00
..
2023-08-28 17:46:27 -07:00