DEV Community

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

Collapse
 
richardevcom profile image
richardev

Just wanted to show some love for original articles like this one. ๐Ÿงก I'm not particulary React fan, but seeing quality post like yours - you gotta support.

I do feel that WS would be maybe more simplistic approach for notifications, than Socket.io, but I guess that's a preference.

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 :)