Skip to content
JS
Package

set-state-compare

setState for React that compares with the current state and only sets the state if changed.

v1.0.87, 10 Sept 2026ISCESM onlyTypes: BundledReact
$ npm install set-state-compare

Key numbers

As of 25 Sept 2026
Weekly downloads
1.6k
+834% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
14 days ago
v1.0.87
GitHub stars
0
0 forks
Open issues / PRs
0 / 6
Contributors
-
Commits, last 52 weeks
251

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6kSept 2025Mar 2026Sept 2026High 4.6k (16 Dec 2025)Low 54 (11 Nov 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,570 downloads last week, 6,937 in the last month. The 12-month change of +834% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.0.87, 10 Sept 202614 days ago
First published
-
Last push to GitHub
20 Sept 20264 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
6
Commits, last 52 weeks
251
Dependents on npm
9

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
207 kB
Dependencies (2)
diggerizefetching-object
Peer dependencies (2)
reactprop-types
npm install set-state-compare
  • jsDelivrhttps://cdn.jsdelivr.net/npm/set-state-compare@1.0.87/
  • unpkghttps://unpkg.com/set-state-compare@1.0.87/
  • esm.shhttps://esm.sh/set-state-compare@1.0.87
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 1570 < 10000.