Honestly I did it this way because I wasn't aware that jQuery was considered outdated. I'm not much of a Javascript developer and I still thought that my meagre jQuery skills were pretty neat.
But I've just been doing some reading and it seems you're right. Apparently most of the things that jQuery was useful are now included in standard JS.
So now I'm wondering if my next post in this series should just be updating the front-end code to use standard JS instead. And then, maybe, I could do another version using a front-end framework like React (or whatever's cool these days).
Oh. I've just remembered another reason why I use jQuery. As you'll see from this example, I often use Bootstrap to make my web apps look nice. And Bootstrap already brings in jQuery.
I'm not a js expert in the slightest, but if you want to use the newest JS features then you're probably going to webpack it too to make sure it will work on all browsers, and that requires some setup. JQuery is low effort, you can just add a jquery script to your page and use it right away. Other options require much more setup and I always found it rather tedious.
When it comes to frameworks, vue.js is pretty cool. You will probably like it if you liked jquery, since it does not necessarily mean writing single page applications and can just make it easier to write some regular JS elements on a page.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Honestly I did it this way because I wasn't aware that jQuery was considered outdated. I'm not much of a Javascript developer and I still thought that my meagre jQuery skills were pretty neat.
But I've just been doing some reading and it seems you're right. Apparently most of the things that jQuery was useful are now included in standard JS.
So now I'm wondering if my next post in this series should just be updating the front-end code to use standard JS instead. And then, maybe, I could do another version using a front-end framework like React (or whatever's cool these days).
Oh. I've just remembered another reason why I use jQuery. As you'll see from this example, I often use Bootstrap to make my web apps look nice. And Bootstrap already brings in jQuery.
I'm not a js expert in the slightest, but if you want to use the newest JS features then you're probably going to webpack it too to make sure it will work on all browsers, and that requires some setup. JQuery is low effort, you can just add a jquery script to your page and use it right away. Other options require much more setup and I always found it rather tedious.
When it comes to frameworks, vue.js is pretty cool. You will probably like it if you liked jquery, since it does not necessarily mean writing single page applications and can just make it easier to write some regular JS elements on a page.