Skip to content

Conversation

@Spasfonx
Copy link

@Spasfonx Spasfonx commented Apr 6, 2020

Hello,

Like said in issue #164 lodash.isequal increase the bundle size significantly (about 50% 😱). In your project, your need about deep equal is limited, a simple one is enough ! See yourself :

https://bundlephobia.com/[email protected]

So, this PR is for replacing the isequal with something simpler and custom ! I took the deepEqual code from this thread :
https://stackoverflow.com/questions/51622641/deep-comparision-how-does-this-code-return-false-when-values-of-2-objects-are-n

By advance, thanks for your review 😌

PS: i didn't commit the package-lock.json because our npm versions are different and the diff was huge. So i prefer let you update it to avoid any conflicts !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant