Skip to content
JS
Package

react-fast-compare

Fastest deep equal comparison for React. Great for React.memo & shouldComponentUpdate. Also really fast general-purpose deep comparison.

v3.2.2, 18 May 2023MITCommonJSTypes: BundledReact
$ npm install react-fast-compare

Key numbers

As of 25 Sept 2026
Weekly downloads
18.7m
+75% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v3.2.2
GitHub stars
1.7k
54 forks
Open issues / PRs
8 / 5
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 26.2m (25 Aug 2026)Low 7.4m (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.

18,685,773 downloads last week, 93,329,596 in the last month. The 12-month change of +75% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
014 in total
Latest version
3.2.2, 18 May 20233 years ago
First published
12 Apr 2018
Last push to GitHub
20 Mar 2024918 days before the snapshot
Repository archived
No
Open issues
8
Open pull requests
5
Commits, last 52 weeks
0
Dependents on npm
1,098

Major versions

  1. v3 first release 3.0.0, 6 Feb 2020
  2. v2 first release 2.0.0, 4 Jun 2018
  3. v1 first release 1.0.0, 12 Apr 2018

Recent releases

VersionPublished
3.2.218 May 2023
3.2.116 Mar 2023
3.2.028 May 2020
3.1.18 May 2020
3.1.08 May 2020
3.0.21 May 2020
3.0.16 Feb 2020
3.0.06 Feb 2020
2.0.49 Nov 2018
2.0.39 Nov 2018
2.0.222 Aug 2018
2.0.125 Jun 2018
2.0.04 Jun 2018
1.0.012 Apr 2018
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
16 kB
Dependencies (0)
None
npm install react-fast-compare
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-fast-compare@3.2.2/
  • unpkghttps://unpkg.com/react-fast-compare@3.2.2/
  • esm.shhttps://esm.sh/react-fast-compare@3.2.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.