Echo JS 0.11.0

<~>

mxxx 3979 days ago. link 1 point
yeah, jQuery promises are a bit closer than they used to be, but still not completely compliant. 

the classlist code they use has a fallback for IE (regex for class removal, string concat for adding).
substack 3979 days ago. link 1 point
Or there's https://npmjs.org/package/class-list on npm that just exports a single ordinary function to expose classList operations on elements without modifying properties. There are individual modules for everything you can do in jquery and more on npm and many of them just do a single thing without stepping on each others toes.
mxxx 3980 days ago. link 1 point
Great resource.  I've seen a few "you don't need jQuery" sites before but they were more general; actually listing commonly used methods and how to do them without $ is a much nicer way to present it. 


A couple of the things though that make jQuery really nice to use are:

a.  Clean syntax that's pretty much known by everyone across the JS-sphere, including chainable methods.
b.  Events.
c.  Promises.
d.  Cross-browser compliance (much, much, MUCH less of an issue these days, and hence "what version of IE are you targeting").



But yeah, in terms of DOM manipulation etc, I usually go native anyway.