Skip to content

Commit

Permalink
feat: change fast-equals to react-fast-compare; less bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
denisx authored and Coltin Kifer committed Jan 29, 2025
1 parent aa9d5fd commit 51700b6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
25 changes: 11 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"dependencies": {
"fast-equals": "^5.0.1",
"prop-types": "^15.8.1",
"react-fast-compare": "^3.2.2",
"react-transition-group": "^4.4.5"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/Animate.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { PureComponent, cloneElement, Children } from 'react';
import PropTypes from 'prop-types';
import { deepEqual } from 'fast-equals';
import deepEqual from 'react-fast-compare';
import createAnimateManager from './AnimateManager';
import { configEasing } from './easing';
import configUpdate from './configUpdate';
Expand Down

0 comments on commit 51700b6

Please sign in to comment.