react-native-event-source
react-native-event-source copied to clipboard
Add support (or disclose non-support) for `onopen` / `onmessage` / `onerror`
The underlying polyfill supports onerror / onmessage / onopen:
https://github.com/jordanbyron/react-native-event-source/blob/master/EventSource.js#L202 https://github.com/jordanbyron/react-native-event-source/blob/master/EventSource.js#L179
But this library doesn't detect when onerror / onmessage / onopen are set:
https://github.com/jordanbyron/react-native-event-source/blob/master/index.js
+1 need support
I need help on this as well 🙏
+1 need that