Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Utils): implement isEqual #1704

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

tomiichx
Copy link

The goal of this PR is reducing the JS bundle size by ditching lodash while maintaining the same functionality as before. Series of test were run in order to make sure the newly implemented function works as intended, as well as whether it behaves the same as it lodash's isEqual() used to.

  • lodash and it's types are removed.

  • vite and @vitejs/plugin-react are bumped to the latest release.

  • pnpm-lock.yaml was completely removed and built anew (clean install).

  • Old size: ~510kb | New size: ~440kb

- The goal of this PR is reducing the JS bundle size by ditching `lodash` while maintaining the same functionality as before. Series of test were run in order to make sure the newly implemented function works as intended, as well as whether it behaves the same as it `lodash`'s `isEqual()` used to.

- `lodash` and it's types are removed.

- `vite` and `@vitejs/plugin-react` are bumped to the latest release.

- `pnpm-lock.yaml` was completely removed and built anew.

- Old size: `~510kb` | New size: `~440kb`
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