react-native-macos/React
Lulu Wu ea93151f21 Make RCTEventDispatcher TurboModule-compatible
Summary:
This diff ended up being a bit more complicated than I anticipated, since the source files in `ReactInternal` were depending on `RCTEventDispatcher`. I made the following changes:
1. Make `RCTEventDispatcher` a `protocol`, keep it in `ReactInternal`.
2. Rename the `RCTEventDispatcher` NativeModule to `RCTEventDispatcherModule`, make it conform to the `RCTEventEmitter` `protocol`, and move it to `CoreModules`.
3. Where necessary, replace categories of `RCTEventDispatcher` with functions.

Changelog:
[iOS][Added] - Make RCTEventDispatcher TurboModule-comaptible

Reviewed By: fkgozali

Differential Revision: D18439488

fbshipit-source-id: b3da15c29459fddf884519f33b0c3b8c036b5539
2020-10-14 02:40:10 -07:00
..
AccessibilityResources/en.lproj Add localized accessibility strings to React Core pod (#27995) 2020-02-20 14:31:03 -08:00
Base Make RCTEventDispatcher TurboModule-compatible 2020-10-14 02:40:10 -07:00
CoreModules Make RCTEventDispatcher TurboModule-compatible 2020-10-14 02:40:10 -07:00
CxxBridge Fix ASAN crash in RCTMessageThread 2020-10-13 15:37:52 -07:00
CxxModule Proxing NSException stack trace to NSError object 2020-09-08 13:22:54 -07:00
CxxUtils Clang format for all React Native files 2020-03-08 23:01:17 -07:00
DevSupport Respect port information if available from RCTBundleURLProvider 2020-08-28 16:01:02 -07:00
Fabric Fabric Picker Native Command support 2020-10-13 11:19:29 -07:00
Inspector Clang format for all React Native files 2020-03-08 23:01:17 -07:00
Modules Make RCTEventDispatcher TurboModule-compatible 2020-10-14 02:40:10 -07:00
Profiler remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
Tests/Text Write tests to cover additional features in RCTParagraphComponentView 2020-07-27 16:05:53 -07:00
UIUtils A couple of checks for corner cases in RCTGetDimensions and RCTExportedDimensions 2020-10-01 13:19:52 -07:00
Views Make RCTEventDispatcher TurboModule-compatible 2020-10-14 02:40:10 -07:00
React-RCTFabric.podspec remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
third-party.xcconfig Upgrade Folly to v2020.01.13.00 (#27810) 2020-01-21 12:44:00 -08:00