mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 22:23:37 +00:00
Summary: Instead of relying on explicit `RawEventDispatchable` function, we simply check the existence of the `weak_ptr` to `EventTarget`. This is efficient and sufficient because only an EventEmitter retains an associated EventTarget. Reviewed By: mdvacca Differential Revision: D9764858 fbshipit-source-id: 4ac25d925f189d0f8b9002e52388fd51629934a8