Skip to content
JS
Package

use-persisted-state

A custom React Hook that provides a multi-instance, multi-tab/browser shared and persistent state.

v0.3.3, 19 Nov 2020MITESM + CommonJSTypes: NoneReact
$ npm install use-persisted-state

Key numbers

As of 25 Sept 2026
Weekly downloads
35.5k
-22% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
5 years ago
v0.3.3
GitHub stars
1.4k
93 forks
Open issues / PRs
22 / 23
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 68.4k (23 Sept 2025)Low 18.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

35,509 downloads last week, 179,018 in the last month. The 12-month change of -22% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.3.3, 19 Nov 20205 years ago
First published
-
Last push to GitHub
26 Apr 20231,247 days before the snapshot
Repository archived
No
Open issues
22
Open pull requests
23
Commits, last 52 weeks
0
Dependents on npm
64

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
14 kB
Dependencies (1)
@use-it/event-listener
Peer dependencies (1)
react
npm install use-persisted-state
  • jsDelivrhttps://cdn.jsdelivr.net/npm/use-persisted-state@0.3.3/
  • unpkghttps://unpkg.com/use-persisted-state@0.3.3/
  • esm.shhttps://esm.sh/use-persisted-state@0.3.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.