use-sync-external-store provides a React hook for safely and efficiently subscribing to external data sources, ensuring consistent snapshots even with concurrent updates. It's particularly valuable for integrating React components with state management solutions outside of React, like Redux or Zustand. This hook optimizes performance by minimizing unnecessary re-renders and preventing tearing issues, offering a reliable mechanism for reading and subscribing to external mutable values within a React application. It’s a performant alternative to useMutableSource in React 18+.
The use-sync-external-store npm package had releases in March, April, and June 2022 (versions 1.0.0, 1.1.0, and 1.2.0). No releases occurred between July 2022 and March 2024. April 2024 saw two releases (1.2.1, 1.2.2), followed by a December 2024 release (1.4.0). A version 1.5.0 was released in March 2025, and no releases have occurred since.
use-sync-external-store downloads surged throughout 2024 and 2025. Starting at 31.6 million in March 2024, downloads steadily increased, reaching a peak of 93 million in August 2025. September 2025 shows over 11 million downloads, but is not a complete month of downloads.