Skip to content

Commit 51700b6

Browse files
denisxColtin Kifer
authored andcommitted
feat: change fast-equals to react-fast-compare; less bytes
1 parent aa9d5fd commit 51700b6

File tree

3 files changed

+13
-16
lines changed

3 files changed

+13
-16
lines changed

package-lock.json

Lines changed: 11 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
4646
},
4747
"dependencies": {
48-
"fast-equals": "^5.0.1",
4948
"prop-types": "^15.8.1",
49+
"react-fast-compare": "^3.2.2",
5050
"react-transition-group": "^4.4.5"
5151
},
5252
"devDependencies": {

src/Animate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { PureComponent, cloneElement, Children } from 'react';
22
import PropTypes from 'prop-types';
3-
import { deepEqual } from 'fast-equals';
3+
import deepEqual from 'react-fast-compare';
44
import createAnimateManager from './AnimateManager';
55
import { configEasing } from './easing';
66
import configUpdate from './configUpdate';

0 commit comments

Comments
 (0)