I Built a Library to Sync Browser Tabs ๐ (opens in new tab)
Here's Why and How to Use It We've all been there. You're building a web app, everything works fine in one tab โ but the moment a user opens a second tab, things start breaking. Cart items disappear. Login state gets out of sync. Background tasks run twice. I ran into this problem one too many times, so I built tabcoord to solve it properly. What is tabcoord? tabcoord is a small library (under 5KB, zero dependencies) that keeps your browser tabs in sync. It gives you shared state, leader elec...
Read the original article