DEV Community

Discussion on: Using WebSockets with React

Collapse
 
muratcanyuksel profile image
Murat Can Yüksel

To be honest, I'm not even sure what's the other one. I had 3 days to learn websockets and redux, so I went with that way.

What's the difference between the two? Why should I check socket.io?

Collapse
 
vsalvans profile image
Víctor Salvans Montesó • Edited

Websocket is the native api from your browser whereas socket.io does not implent the same api although it can use websocket under the hood if the browser support it, besides it has the server version that helps the backend keep the same interface with the client and add extra features as authentication , etc.