Working with websockets on multiple tab to check realtime send and receive events
I am stuck in a strange situation. I don’t know how to describe it. Well, I have set up WebSockets in my project, On the client side I’m using react, And on the server side, I’m using Django channels. On a single tab, all flow is working fine. e.g : I’m sending data from the client-side with sockets to the server and receiving it back on the client-side. but on the other tab, it doesn’t receive at the same moment or we can say real-time receiving .
I’m basically trying to build a notification system on WebSockets.
Source: React – Stack OverflowNovember 7, 2021