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 Lodash instead of Underscore #8

Closed
raix opened this issue Nov 21, 2014 · 10 comments
Closed

Use Lodash instead of Underscore #8

raix opened this issue Nov 21, 2014 · 10 comments

Comments

@raix
Copy link
Contributor

raix commented Nov 21, 2014

There's an open issue on meteor meteor/meteor#1009 that would be nice to keep track of. (its the most upvoted closed issue in meteor so I've set community agree)

Please vote there!

Why:
@jdalton

  • Better documentation
  • Consistency
  • Compatibility
  • Performance
  • Customization
  • Support, & more features & repo activity
  • It's also easy to switch, simply swapping module names (with compat paths if necessary)
  • Follows semver

Waiting:
@glasser:

Lodash looks great. But just like every time we upgrade a Node minor
version, the day I swap in lodash will be a day where I do a full automated
and manual QA of Meteor. Which is something we're trying to make more and
more automated, but we're not there yet.

Due to this comment I assume MDG agree

@ai10
Copy link

ai10 commented Apr 23, 2015

Lodash.min is 50kb, underscore.min is 16kb?

@pihentagy
Copy link

@jdalton
Copy link

jdalton commented Apr 23, 2015

It's as if lodash has more functionality/features 😀

@Sivli-Embir
Copy link

It's as if lodash has more functionality/features.

I have had to use a number of other packages to fill the gap. I expect my total underscore plus friends min is well over 50kb. 18k is amazing.

👍 +1 👍

@dandv
Copy link
Member

dandv commented Apr 23, 2015

Since the meteor/meteor GitHub issue is open now that MDG accepts feature requests via GitHub, I've update the OP and will close the issue here.

@dandv dandv closed this as completed Apr 23, 2015
@rclai
Copy link

rclai commented May 2, 2015

Hey guys, so I've created a repository with a solution to actually replace underscore under the hood with lodash:
https://github.com/rclai/meteor-lodash-replace-underscore
Please feel free to contribute or let me know of any suggestions.

@zimme
Copy link
Member

zimme commented May 2, 2015

@rclai: 👍

@veob
Copy link

veob commented Oct 5, 2015

Hey, guys.
https://raw.githubusercontent.com/lodash/lodash/3.7.0/lodash.min.js is 50kB, not 18kB (latest too). What am I doing wrong?

@jdalton
Copy link

jdalton commented Oct 5, 2015

It's gzipped to 18kb.

Since folks seem to be concerned with file size you all may dig that lodash v4 will ship with a 4kb build (thats +1kb smaller than Underscore) while still supporting Backbone and packed with 60+ methods.

@veob
Copy link

veob commented Oct 5, 2015

Ah, okay. Thank you 👍

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

No branches or pull requests

9 participants