Skip to content

Commit

Permalink
Merge pull request #105 from denisx/feat/react-fast-compare
Browse files Browse the repository at this point in the history
feat: change fast-equals to react-fast-compare; less bytes
  • Loading branch information
ckifer authored Dec 5, 2024
2 parents 73954a3 + 04f8ff1 commit 40c9f17
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 @@ -48,8 +48,8 @@
"react-dom": "^16.8.0 || ^17.0.0 || ^18.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.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
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 40c9f17

Please sign in to comment.