≈ the.bay.news

Ten tabs, one WebSocket: electing a leader tab with Web Locks

DEV Community
Ten tabs, one WebSocket: electing a leader tab with Web Locks
How a browser app with a shared IndexedDB replica picks one tab to hold the socket, how the other tabs follow over BroadcastChannel, and two bugs that left users stuck behind a useless leader.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.