DEV Community

Discussion on: Event Source Interface, an unidirectional alternative to Sockets in JavaScript

aslasn profile image
Ande • Edited

Note that the EventSource API isn't supported in any version of Microsoft Edge, Internet Explorer and few other minor browsers. Here's the compatibility table. While web sockets are supported in quite a lot of browsers including IE10.

felipperegazio profile image
Felippe Regazio Author • Edited

You're right, and thanks for your contribution : ) You will have to consider your needings and use case. Also, Polyfills are available for browsers that do not support EventSource API but i thing they just fallbacks to polling (maybe, i didnt check).