mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50298 Given EventDispatcher already synchronously calls EventListener, this convenience method for listening to events directly from EventEmitter was short-sighted. We will revisit how to handle JS vs. UI dispatched events for NativeAnimated purposes in future diffs. For now, this reverts https://github.com/facebook/react-native/pull/49998 This change is not being marked as breaking since the change that added this API has not yet been shipped to stable. ## Changelog [General][Removed] - EventEmitter addListener and removeListener APIs Reviewed By: zeyap Differential Revision: D71909828 fbshipit-source-id: 9246de5c7a33368d182369a2d6eb57aa960b415b