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

Use less Lodash #365

Open
arildm opened this issue May 21, 2024 · 1 comment
Open

Use less Lodash #365

arildm opened this issue May 21, 2024 · 1 comment
Labels
maintenance Oiling the gears, preventing future problems

Comments

@arildm
Copy link
Member

arildm commented May 21, 2024

The status of the Lodash library is questionable. Many of its functions can be safely replaced with native JS. This blog post has some tips: https://thejs.dev/jmitchell/its-time-to-let-go-of-lodash-nqc

Remaining imports should be specific to allow for tree shaking: import toPairs from "lodash/toPairs"

@arildm arildm added the maintenance Oiling the gears, preventing future problems label May 21, 2024
@arildm
Copy link
Member Author

arildm commented Jul 3, 2024

Btw maybe also consider switching to es-toolkit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Oiling the gears, preventing future problems
Projects
None yet
Development

No branches or pull requests

1 participant