News for hackers. Stuff that matters.
Re:Lodash 4.0.0 is out by _RPM on Tuesday January 12, 2016 @09:13PM (#10891909)
I've seen projects that use jQuery just for the selector part, nothing else is used. Selectors are a core strength of jQuery. With document.querySelector, I wouldn't even include jQuery in a new project. `window.addEventListener` isn't much different than .on
Re:Lodash 4.0.0 is out by overcast on Tuesday January 12, 2016 @09:26PM (#10891965)
It's used out of convenience, and avoiding errors. jQuery selectors are stupidly simple to do complex stuff with. I just wish they had a jQuery.selector distribution.
Re:Lodash 4.0.0 is out by jeresig on Tuesday January 12, 2016 @10:13PM (#10892110)
Re:Lodash 4.0.0 is out by overcast on Wednesday January 13, 2016 @08:59AM (#10894248)
I looked at sizzle, but is it just me, or is the syntax not anywhere near as convenient as jQuery? Doesn't seem like it's making anything easier.
Re:Lodash 4.0.0 is out by kyriakos on Tuesday January 12, 2016 @10:16PM (#10892115)
I mostly use it because it's a dependency in so many other stuff that I end up using in my projects.