Which WebSocket-based libraries work with React Native?
<p>Based on my research and this <a href="https://stackoverflow.com/questions/35753636/mqtt-on-react-native/35754055">question</a> it seems that some WebSocket based Nodejs libraries do not work with React Native (e.g. Paho's JS library for MQTT), but others do work (e.g. <a href="http://browniefed.com/blog/2015/05/16/react-native-and-socket-dot-io/" rel="nofollow noreferrer">SocketIO</a> and <a href="https://www.firebase.com/blog/2016-01-20-tutorial-firebase-react-native.html" rel="nofollow noreferrer">Firebase</a>).</p>

<p>Is there any way to know other than trial and error which ones are likely to work?</p>

<h2>Summary:</h2>

<p>Sounds like most WebSocket based libraries should work and that inconsistencies with the way React Native implements XMLHttpRequest is not an issue.</p>