Aug 29, 2017 · 1 min read
Ivan Vanderbyl — I agree. Socket.io is too heavy. We removed it from our project and got a performance boost along with a node_modules folder over 5 MB smaller.
If you’d like, checkout my lib ws-wrapper. It’s a small, lightweight lib that I wrote to provide some socket.io-like event handler API with Promise-based requests. It might be of use to you as you leave the Socket.io camp and work with raw WebSockets.