Re:Back to basics: Why we chose long-polling over websockets
by _heimdall on Sunday January 05, 2025 @07:24AM
(#42601325)
Syncing state across multiple tabs and windows is always a bit tricky. For SSE, I'd probably reach for the BroadcastChannel API. Open the SSE connection in the first tab and have it broadcast events to any other open tab or window.
[ Parent
| on HN ]
There are no comments on this comment yet.