Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use UIManagerHelper to access EventDispatcher in ReactViewManager
Summary: ReactViewManager uses the bridge (CatalystInstance) to access the UIManagerModule in its onClick method. This doesn't work in bridgeless mode, so I'm replacing this callsite with the new API, which uses UIManagerHelper + the reactTag to look up the appropriate UIManager (Paper or Fabric), and get the EventDispatcher from that. Changelog: [Internal] Reviewed By: JoshuaGross Differential Revision: D21510243 fbshipit-source-id: c2c6111e73c49ca6bf873819db8ece71c66417e4
- Loading branch information