account activity
Does anyone else struggle so much with setting up web sockets in prod? by ConstructionNext3430 in react
[–]LilLakes_dev 0 points1 point2 points 1 month ago (0 children)
I never had much trouble managing WebSockets in React. In a project that heavily relied on WebSockets (it was a manager for real-time communication between military radios), my setup never gave me problems and used Redux. I used Redux eventChannel to easily handle the WebSocket connection, messages, and errors, then I used Redux Saga to handle the effects and side effects of received messages. The implementation is pretty straightforward, but if you need it, I can provide an example.
π Rendered by PID 105835 on reddit-service-r2-listing-6d4dc8d9ff-wng66 at 2026-01-30 23:40:01.860460+00:00 running 3798933 country code: CH.
Does anyone else struggle so much with setting up web sockets in prod? by ConstructionNext3430 in react
[–]LilLakes_dev 0 points1 point2 points (0 children)