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

Unoptimized loading of lodash function isEqual #244

Open
unimator opened this issue Aug 3, 2021 · 0 comments
Open

Unoptimized loading of lodash function isEqual #244

unimator opened this issue Aug 3, 2021 · 0 comments

Comments

@unimator
Copy link

unimator commented Aug 3, 2021

According to my knowledge and what people say ( Lodash per method packages, Correct way to import lodash ) loading lodash functions like that:

import { isEqual } from 'lodash'

is not optimal because it will load everything from library at once and can be effectively replaced by:

import isEqual from 'lodash/isEqual'

which sould load only required amount of code to make this function work.

The problem can be found in Port.wrapper.tsx file.

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

No branches or pull requests

1 participant