|
|
|
|
|
by ggreer
4132 days ago
|
|
If you find yourself annoyed by some aspects of Underscore, you might want to check out Lodash[1]. Lodash's API is a superset of Underscore, though you can create custom builds with only the parts you need. In general, Lodash performs better and has fewer bugs than Underscore. Unlike Underscore, Lodash has 100% test coverage. Also, Lodash has some handy things like _.cloneDeep(), and semantic versioning. That means your package.json can have "lodash": "3.x" in its dependencies without worrying about breakage. For a more in-depth discussion of the differences between Lodash and Underscore, I recommend Ben McCormick's Underscore vs Lo-Dash[2]. 1. https://lodash.com/ 2. http://benmccormick.org/2014/11/12/underscore-vs-lodash/ |
|
And yes, you can pick and choose what modules you want. But you could do that with Mootools and it was released a decade ago. If you want a heavy framework with lots of modules, there are plenty to choose from.
Maybe if it offered a light version on the front page? The file linked from the front page is 372KB. By comparison, the file linked from Underscore's front page is 51KB.