Preparing for system design interviews?  Try bugzed.com →

Zustand Cross-Tab State Sync

JSON →
library 0.2.3 ·javascript
verified Jun 17, 2026

zustand-sync-tabs is a lightweight (~1KB minzipped) middleware for Zustand that facilitates seamless state synchronization across multiple browser tabs, windows, and iframes, provided they share the same origin. The current stable version is 0.2.3. It offers a 'fire and forget' setup, making it ideal for single-user applications that need consistent state across browsing contexts. Key differentiators include its small bundle size, full TypeScript support, and robust handling of one-writer/many-reader scenarios. It leverages the Broadcast Channel API (or localStorage fallback) for communication and supports both full and partial state sharing via include/exclude options for specific fields.

total hits 14
actors 5 distinct systems
last hit 19d ago Amazonbot
GPTBot
4
Amazonbot
4
Script
1
ChatGPT-User
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany