It feels like every month a billion new WhateverJS frameworks and libraries are being released, updated or announced, and all of them have the potential to be game changers. This leaves you, my dear reader, worried that your knowledge might get irrelevant in a couple of weeks and confused for not knowing what to focus on next. But fear not, child, and check out this talk by Todd Motto to find some peace of mind.
Where does this leave jQuery, then, you might ask? For what it’s worth, I think jQuery has served its purpose, but for most purposes, its time has passed; it is objectively slower than native ES5 and ES6, and it’s also an extra file of 100kb you need to load.
I would still go for jQuery if I have to support IE8 or lower, but for IE9+ I would go full-on ES5. And then even IE9 and IE10 are becoming obsolete. Some might say they were obsolete from day one, but that’s mean, and picking on IE is overdone and is too easy (it also shows a lack of sportsmanship and a disregard for the hundreds of millions of users that had used them).
jQuery can still be useful as a dependency for some libraries you might need, and it’s better than to waste weeks reinventing the wheel (sometimes it’s healthy to try, though, as it may prove to be a good lesson – if you and your calendar are up for it).
by Nicu Cornea