jQuery vs Vue, React and Angular

preview_player
Показать описание

----------

----------

• And you should of course also follow @academind_real.

See you in the videos!

----------

Рекомендации по теме
Комментарии
Автор

I still think jQuery is much easier to read and understand. I've taken multiple stabs and React and Vue and they seem grossly complex and overkill for PHP devs who just need JS for a few things.

joshualawson
Автор

I watched this 2 years ago. Forced me to explore and use vue (and angular) in some projects - because as a good dev one needs to adopt. BUT after a few projects I realized what gold jQuery still is (fast, modularized, non intrusive, drop in rapid setup, minimal dependencies, super flexibility).

Call me old school but 2 years after, i've created 4 large projects still using jQuery and I love how i keep most of my base code simple, straight forward, organized and pure/true to its form, not having to interweave so much 3rd party code into html and the framework. I sometimes hire dev helpers and it's easier coz they can hammer away at my HTML and CSS even if they dont have understanding of jQuery, vue or whatever framework (i have larger pool of hiring options). I can also switch to vanilla JS if i feel like it with so much ease. Had i gone the vue route, or any other framework with dependency hell, my projects would've taken much longer do (since there's so many rework done that would've been so difficult if the project was tied to a framework), much harder for modularization and assign to different people w/ different skills/framework familiarity. Time and time again, i see the great value in separating different aspects of a project, not depending heavily on frameworks like vue, laravel, and all that "trend".

It's 2020 and i'm building another web application project from scratch and Bootstrap + jquery will still be my front-end heavy lifters of choice - as usual (and PHP+MYSQL on the server side)

That said, i did dive into Angular and React (not so much in vue) for a few smaller projects and it was indeed enjoyable but until these frameworks warring against each other move pass the "trend" and "fad" phase (Ruby *cough cough), I'm sticking with my weapons of choice that gets the job done. It's 2020 now and im sure there's another new kid on the block everyone's gonna be raving about around the corner.

Respect to VUE, REACT, Angular and all these projects giving us devs many choices to get the job done at the end of the day.

MojoTojoChannel
Автор

I think you answered your own question. A lot of people build fairly simple brochure/marketing websites where the functionality is basic and the site's code is rarely going to change. These sites have small budgets so time saving is key. As you pointed out, jQuery is the fastest way to manipulate DOM elements. So these people still use it.

Also, in my case, I have so many tools that I have built over the years that I wrote in jQuery that work really well. So for a lot of fairly complex things I just plug and play.

As soon as you start doing anything more complex, all of your points are valid and jQuery becomes not fit for purpose.

JordanNeenan
Автор

This was my first exposure to Vue. Thanks Max, super clear as always. This is a VERY different way of going about things. I'm worried about having interacting script parts in 2 separate places I have to look back and forth between. Maybe if I think of the Vue declaration as a "DOM function" and v-for, v-on, etc. as my HTML calling that function, I'll feel better about it. But I'm going to start using Vue and see how it goes. Thanks again!

workingTchr
Автор

Clear explanation, but I was expecting some React & Angular examples too!

ronaldvonk
Автор

It doesn't matter what you use if you cannot create something that people need and people don't care what is behind the scene as long as it can solve their problems -- get sales or die in the dust.

ZeeshanArshad
Автор

Every time I watch one of your videos I realize once again how much I don't know. Thanks for putting so much great info in all of your videos!!

WallyJK
Автор

I still use jQuery, sometimes i need to get done a web project, but with limited time, so i haven't had the time to learn frameworks like React.js or Angular. (I'm an iOS developer).

MrjavoiThe
Автор

Hi max, in my project I had to use jquery to manipulate dom elements as data is being rendered through innerHTML. It was my first time using jquery and I liked it.

manitshetty
Автор

I really LOVE JQuery, for me it is easy and powerful!. All these new frameworks what they are doing is trying to "componentize" everything, they merge HTML code with JS code in a JS file, I like to find the HTML code in an HTML page and find the JS code in a JS file, I like that "separation of concerns"...

poldaddy
Автор

I started learning front-end development in late 2017, and after playing around with vanilla JS (ES6) for a while, I jumped straight into TypeScript and Angular which was MUCH MORE beneficial than JQuery when I started applying for my first projects. What I noticed though is that JQuery is still good to be familiar with to some extent when it comes to site-builder positions.

krisztiankugler
Автор

I’ve been using jQuery since 2008 and I can tell you that, even in 2022, it’s my goto choice for projects large and small.

This current generation of developers are so quick to advise that jQuery is dead and that react etc are what you should be using, but I’ve yet to see an example of any react web app that can’t be achieved with jQuery. It’s the 🐐

TheGreatGambini
Автор

I believe you can use @click instead of v-on:click.
Great video as always! Cheers!

ThemLoLShortClips
Автор

To be fair, I think even React makes things harder and less easy than just using normal JS + HTML today. And I dont see this "react keeps updating only whats need to be updated when an event happens"... that is how it works even in plain JS?. I dont re-render whole screen just to update a field. Only thing react is doing is making things less responsive since its slow to render.

AndrewTSq
Автор

I think I prefer jQuery + Require + Backbone. These new frameworks are changing the HTML code. Whatever happened to the separation of MVC?

ozone
Автор

Great video. I think und understanding jQuery is useful for when refactoring old websites. But I’m all aboard the Vue Train!

misterjaypeasmith
Автор

at work I maintain a reasonable size jQuery app and a few vue apps and honestly I dread making changes to the jquery one...

RoganFPS
Автор

Do you have courses in Apache Wicket? I used that some years ago on a project and it was a big success. Why should a java developer learn and use Vue or React instead of Wicket?

davidfield
Автор

I agree jQuery was great at the time for cross browser compatibility, but with the advancement of JS browser support, ECMAScript, and new libraries like React and Vue becoming more widely used jQuery is not much more than a crutch and vanilla JS should be learned deeply to compete.

jasonwitt
Автор

Thank you! That was a very nice explanation!

puyakhalili