mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
4f38cb30b8
Summary: Always create a new EventEmitter specifically for Fabric when initializing the Fabric JSI module. Previously, we were (sometimes!) reusing the EventEmitter being used for the old renderer and they were shared. There doesn't seem to be a compelling reason to continue doing this, and Fabric has optimized EventEmitters that we can use instead. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D29724537 fbshipit-source-id: 1b2c7a7d656e3fb86ddf98a6cf0f2e67dcbf8aef