zustand-sync is a lightweight middleware designed to synchronize zustand stores across multiple clients using JSON Patch for efficient state updates. It integrates easily into React projects with a simple setup process and supports various transport layers, including WebSockets, with features like authentication, conflict resolution, and offline support. A sequence diagram illustrates the workflow of state synchronization between clients.
+ zustand
sync ✓
middleware ✓
websocket ✓
react ✓