Ramanpreet Nara
7243517481
Give RCTSurfaceHostingProxyRootView access to the bridgeless RCTModuleRegistry
...
Summary:
## Context
In bridgeless mode, RCTRootView is actually an instance of RCTSurfaceHostingProxyRootView.
A lot of code that uses RCTRootView uses its RCTEventDispatcher or RCTModuleRegistry properties. Both of properties reach into the bridge, which means these APIs only work in bridge mode.
## Changes
- Give RCTSurfaceHostingProxyRootView access to the bridgeless RCTModuleRegistry, in bridgeless mode.
## Benefits
- This makes the RCTEventDispatcher and RCTModuleRegistry properties of RCTSurfaceHostingProxyRootView work in bridgeless mode. This allows us to eliminate branching in native code that uses these properties. Diffs incoming.
Changelog: [Internal]
Reviewed By: sshic
Differential Revision: D30753829
fbshipit-source-id: 0815f8ae5507686bd5aff20a3abc1843533bb132
2021-09-08 12:46:35 -07:00
..
2021-09-08 12:46:35 -07:00
2021-05-20 21:24:25 -07:00
2021-04-29 19:46:10 -07:00
2021-08-02 11:22:22 -07:00
2021-09-02 16:50:08 -07:00
2021-09-02 16:50:08 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2021-09-08 12:46:35 -07:00
2021-05-04 18:33:23 -07:00
2021-08-19 10:28:49 -07:00
2021-08-19 10:28:49 -07:00
2021-05-14 09:22:58 -07:00
2020-10-14 02:40:10 -07:00
2020-03-08 23:01:17 -07:00
2021-08-20 05:42:21 -07:00
2021-08-20 05:42:21 -07:00
2020-08-05 14:49:07 -07:00
2021-08-13 16:29:41 -07:00
2021-08-24 07:21:56 -07:00
2019-10-16 10:06:34 -07:00
2021-04-14 19:47:31 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-10-14 02:40:10 -07:00
2021-09-02 16:50:08 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2021-05-20 19:19:57 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-06-16 02:12:09 -07:00
2020-12-16 16:03:57 -08:00
2020-07-23 17:11:32 -07:00
2020-09-09 12:48:09 -07:00
2020-09-09 12:48:09 -07:00
2020-05-26 20:18:02 -07:00
2020-09-09 12:48:09 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2021-05-14 09:22:58 -07:00
2021-05-20 19:19:57 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-12-10 20:23:16 -08:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2021-07-29 17:26:02 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-10-30 14:05:11 -07:00
2020-10-30 14:05:11 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2019-11-18 16:17:09 -08:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2021-09-02 16:50:08 -07:00
2021-09-02 16:50:08 -07:00
2019-10-16 10:06:34 -07:00
2020-09-28 21:26:41 -07:00
2020-10-14 02:40:10 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2021-07-29 04:23:09 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-09-08 13:22:54 -07:00
2021-01-09 22:11:00 -08:00
2020-05-21 21:12:36 -07:00
2019-11-22 00:47:22 -08:00
2020-03-08 23:01:17 -07:00
2019-07-12 16:51:28 -07:00
2020-12-19 06:01:47 -08:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00