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.
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.
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.
Hi richardevcom, Thank you!
Socket.io basically wraps WS, can you elaborate? :)
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.
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 :)