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.

enter image description here

Source: React – Stack Overflow

November 7, 2021
Category : News
Tags: django | django-channels | reactjs | sockets | websocket

Leave a Reply

Your email address will not be published. Required fields are marked *

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.