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

Remove Lodash dependency #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

radex
Copy link
Contributor

@radex radex commented Aug 1, 2018

Lodash is a big dependency, used here in three very trivial places, and Metro bundler isn't very good at tree shaking. I replaced uses of it with simple vanilla JS. Seems to work perfectly fine and shaved over 100KB off my app's build size

@radex
Copy link
Contributor Author

radex commented Aug 30, 2018

@artald Hey, mind taking a look?

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