Skip to content

Unoptimized loading of lodash function isEqual #244

Description

@unimator

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions