mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2c40cc714c
Summary: Diff 1/N explained how calls to `[_bridge enqueueJSCall:]` can be replaced with `_invokeJS` in a bridgeless world. This diff replaces RCTEventEmitter's usage of `enqueueJSCall` if the bridge isn't available. Changelog: [Internal][iOS] Make RCTEventEmitter a RCTJSInvokerModule Reviewed By: RSNara Differential Revision: D18941955 fbshipit-source-id: 1b81e46585432e005cff5aa0ab4d151f50ea051b