# use-sync-external-store

> Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.

Latest version **1.7.0** (published 2026-09-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install use-sync-external-store
pnpm add use-sync-external-store
yarn add use-sync-external-store
bun add use-sync-external-store
```

## Health

**Score 78/100 (B)** — status: active.

Positive: has types package; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo; extremely popular.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.7.0 |
| Published | 2026-09-09 |
| First published | 2021-08-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/use-sync-external-store) |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 27.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 250406 |
| Maintainers | react-bot |

## Links

- npm: https://www.npmjs.com/package/use-sync-external-store
- Repository: https://github.com/react/react
- Homepage: https://github.com/react/react#readme
- Issues: https://github.com/react/react/issues
- npm.io page: https://npm.io/package/use-sync-external-store

## Recent versions

- 1.7.0 (latest) — 2026-09-09
- 0.0.0-experimental-ff8f88fc-20260915 (experimental) — 2026-09-15
- 1.7.0-canary-ff8f88fc-20260915 (canary) — 2026-09-15
- 1.7.0-canary-d5736f09-20260507 (next) — 2026-05-08
- 1.4.0-rc.1 (rc) — 2024-11-14
- 1.4.0-beta-26f2496093-20240514 (beta) — 2024-05-14
- 0.0.0-experimental-9b938532-20260914 — 2026-09-14
- 1.7.0-canary-9b938532-20260914 — 2026-09-14
- 0.0.0-experimental-019019be-20260911 — 2026-09-11
- 1.7.0-canary-019019be-20260911 — 2026-09-11
- 0.0.0-experimental-82c44beb-20260910 — 2026-09-10
- 1.7.0-canary-82c44beb-20260910 — 2026-09-10
- 0.0.0-experimental-1d34f91d-20260909 — 2026-09-09
- 1.7.0-canary-1d34f91d-20260909 — 2026-09-09
- 1.7.0-canary-6c0e1047-20260908 — 2026-09-08
- … 2291 more at https://npm.io/package/use-sync-external-store/versions

## README

# use-sync-external-store

Backwards-compatible shim for [`React.useSyncExternalStore`](https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore). Works with any React that supports Hooks.

See also https://github.com/reactwg/react-18/discussions/86.

---
_Source: https://npm.io/package/use-sync-external-store · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
