3 ms·
I'm so tired of this argument. There's no reason to drop jQuery for any of the reasons stated. Especially with modern JavaScript engines, the performance hit is
by temporallobe 9y ago
I'm so tired of this argument.
There's no reason to drop jQuery for any of the reasons stated. Especially with modern JavaScript engines, the performance hit is negligible. Also, jQuery is especially optimized for complex DOM manipulation which Vanilla JS cannot do on its own. Sorry, but querySelectorAll is not the same as jQuery's powerful selector engine, and you can't chain thngs the same way either. Sure, it's less relevant now than it once was and for minor projects you could probably get away with a no-library approach, but who are we kidding here? Most modern web apps and sites are extremely library and framework heavy. It's complete bullshit to say otherwise. The only exception is of course for design-centric, static content web sites which tend to heavily lean on CSS for display logic. This article is just full of amateur and meaningless advice.