</>PackageGraphPackageGraph

react-fast-compare

npmv3.2.2TypeScript

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

0
Weekly downloads
1
Dependents
46
Dependencies
2/100
Popularity

Overview

react-fast-compare is an npm package that fastest deep equal comparison for React. Great for React.memo & shouldComponentUpdate. Also really fast general-purpose deep comparison. The latest version is 3.2.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need fastest deep equal comparison for React. Great for React.memo & shouldComponentUpdate. Also really fast general-purpose deep comparison and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (46 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of react-fast-compare.

expo-routerreact-fast-compare
react-fast-compare dependencies dependents

Dependencies

Dev (46)

@babel/core ^7.21.0@babel/preset-env ^7.20.2@changesets/cli ^2.26.1@svitejs/changesets-changelog-github-compact ^0.1.1@testing-library/dom ^9.0.1@testing-library/preact ^3.2.3@types/node ^18.15.0@types/react ^16.9.35@types/react-dom ^16.9.8@types/react-redux ^7.1.25@typescript-eslint/parser ^5.54.1assert ^2.0.0babel-loader ^9.1.2benchmark ^2.1.4builder ^5.0.0codecov ^3.8.3core-js ^3.29.0eslint ^8.35.0eslint-plugin-react ^7.32.2fast-deep-equal 3.1.3fast-deep-equal-git github:epoberezkin/fast-deep-equal#v3.1.3jsdom ^21.1.0jsdom-global ^3.0.2karma ^6.4.1karma-chrome-launcher ^3.1.1karma-firefox-launcher ^2.1.2karma-mocha ^2.0.1karma-mocha-reporter ^2.2.5karma-safari-launcher ^1.0.0karma-webpack ^5.0.0lodash ^4.17.10mocha ^10.2.0nano-equal ^2.0.2nyc ^15.1.0preact ^10.13.1process ^0.11.10react ^18.2.0react-dom ^18.2.0react-redux ^8.0.5react-test-renderer ^18.2.0redux ^4.2.1shallow-equal-fuzzy 0.0.2sinon ^15.0.1terser ^5.16.6typescript ^4.9.5webpack ^5.76.0

Used by

Popular packages that depend on react-fast-compare.

Alternatives to react-fast-compare

Frequently installed together

Version history

VersionPublishedLicense
3.2.2latest3 years agoMIT
3.2.13 years agoMIT
3.2.06 years agoMIT
3.1.16 years agoMIT
3.1.06 years agoMIT
3.0.26 years agoMIT
3.0.16 years agoMIT
3.0.06 years agoMIT
3.0.0-beta.16 years agoMIT
2.0.47 years agoMIT
2.0.37 years agoMIT
2.0.28 years agoMIT
2.0.18 years agoMIT
2.0.08 years agoMIT
1.0.08 years agoMIT

Maintainers

Keywords

Frequently asked questions

How do I install react-fast-compare?

Run `npm install react-fast-compare` to add react-fast-compare to your npm project.

What license is react-fast-compare released under?

react-fast-compare is distributed under the MIT license.

How popular is react-fast-compare?

react-fast-compare has approximately 0 downloads per week and 1 known dependent packages.