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

Unnecessary object copies #72

Closed
nlepage opened this issue Aug 14, 2017 · 0 comments
Closed

Unnecessary object copies #72

nlepage opened this issue Aug 14, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@nlepage
Copy link
Member

nlepage commented Aug 14, 2017

Description

lodash/fp/update sends a shallow clone of the updated value to the updater :

  • It's not necessary to use lodash/fp version of functions mutating at first level only
  • It's not mandatory to pass arrays through lodash/toArray before using mutating Array methods.
@nlepage nlepage added this to the 0.3-alpha milestone Aug 14, 2017
@nlepage nlepage self-assigned this Aug 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant