jQuery Is Better Than React
If you’re in the web development world, you probably have heard of React. I mean maybe you don’t even know what it is, but you know it’s like super cool and sexy.
And jQuery is the polar opposite. Everyone likes to hate jQuery these days. I had one of those stupid “take home tests” trendy tech companies use for hiring these days and it said I could use literally anything except jQuery.
Which is just so typical of the industry. And 5% is because of jQuery performance or architecture issues, and 95% is snobbery.
And that snobbery is wrong, because jQuery is better than React.
jQuery is more reliable: React just got trendy, who even knows if it will stick around? You might hate jQuery but it has been around a long time and a lot of people know it. Do you even know why React is better? Are you just using it because you heard it is cool?
Being trendy can be bad: Pressure to learn React means you’re gonna see some real questionable React sites soon that will make bad Jquery a run for its money.
jQuery is cheap: it’s cheap because it is fucking easy to learn. I could teach a toddler jQuery. You really wanna build your product with something where the devs cost $250 an hour? I did React and that’s what they billed for me. Actually maybe that’s why devs love it so much. Hip new thing! Hard to learn! = $$$$$$ for devs. 💰💰💰💰💰💰💰💰
jQuery is easy: as I said, anyone can learn jQuery. That’s where some of the snobbery comes from, but when you have a team that has all kinds of skill levels or you’re making something on a budget. Of course it seems like the industry’s solution is just to not have junior devs anymore, but that’s a subject for a different article (update: just wrote one).
You don’t even need React: come on, I mean most of you are building simple disposable sites that won’t even be around in a year. Do you really need to build that brochure site in React?
Why does everything have to become about trends: React is fine, React is the best solution for some things, jQuery is the best solutions for others. How about not using React for every single thing just because it’s trendy?
I’ll stick with React for some things, jQuery for others. I’ll pick which I use based on what the project I’m doing needs, not based on trends.
Plus if you’re really trendy you’re probably using vanilla JS ;) Or like me, retro DHTML.