Well, in my opinion, a lot of developers don’t consider Vanilla JavaScript, instead, they load in jQuery by default. For others, jQuery looks simpler, but if they just dive into Vanilla JavaScript, it is as easy as jQuery.

jQuery pushed JavaScript forwards in the last years. They started when the browser API’s where not that easy.

But currently, we have document.querySelector() which accepts the same things as $() does. So essentially we could write a small wrapper to use the same syntax.

So using jQuery is not wrong by default! It is wrong to pick a library or framework without wondering why do I use this.

How do you see that?

Written by

I write stories about Frontend Dev, JavaScript, Typescript, Angular, NodeJS, Serverless Functions, JAM Stack, FaunaDB, Netlify, Apple, iOS— https://byrayray.dev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store