DEV Community

Discussion on: Using WebSockets with React.js, the right way (no library needed)

Collapse
 
llermaly profile image
llermaly

Hey, I guess you are not using socket.io because you can't implement it on the server ? Or you prefer e sockets over socket.io and why?

Collapse
 
itays123 profile image
Itay Schechner

I used a Java server, so socketIO was not an option.

Collapse
 
bfunc profile image
Pavel Litkin • Edited

socket.io has issues with order of messages and generally it is heavy and messy library. You do not need any library for websockets in browsers nowadays, and you have very well test library ws for node.js