DEV Community

Discussion on: How to build a real-time Auction system - Connecting Socket.io With React ๐Ÿ”ฅ (Part 2)

Collapse
 
nevodavid profile image
Nevo David

Hi richardevcom, Thank you!
Socket.io basically wraps WS, can you elaborate? :)

Collapse
 
richardevcom profile image
richardev

While using WS is arguably simpler than Socket.io - I personally find it easier to use for simple notifications. Additionally - performance is noticeably better on heavier usage scenarios.

Thread Thread
 
nevodavid profile image
Nevo David

Yup, The more layers you remove the faster you app becomes.
It's a trade off usually between control and speed.
Same like express and nest.js :)