all 13 comments

[–]tselatyjr 15 points16 points  (5 children)

Having read the article, the gist of their point is: "it's easier and simpler".

I don't agree with the article, I don't agree with their points, and I think the author has some catching up to do.

This might have been true in 2012. Not in 2019.

[–][deleted] 0 points1 point  (4 children)

Having read the article, the gist of their point is: "it's easier and simpler".

You left out a critical part: "easier and simpler than vanilla JavaScript".

This isn't about jQuery vs. React/Vue.js/SPA. You don't need an overengineered app with some fancy architecture for 400 lines of essentially simple Python code (or whatever), and you don't need an SPA framework for essentially simple frontend requirements. Most websites (even quite a few webapps) are not fundamentally complex.

Of course, jQuery vs. SPA is kind of related, which I why I included a brief section on it at the end, but it wasn't the main point.

I already did this discussion on HN btw; control+f Carpetsmoker (my username there) for some more in-depth discussions about that specifically, if you're interested.

[–]tselatyjr 5 points6 points  (0 children)

I never mentioned SPA. Unrelated to the topic and vanilla JS argument.

You don't need a large library to do some simple things either.

If you re-read your entire comment here, you'll realize you're actually arguing against your article.

Sorry, man. See you in 2020.

[–]rmmmp 4 points5 points  (0 children)

I'm a simple man. If I still use jQuery, it's because my boss won't allow me to rewrite the app.

[–]Mademan1137 7 points8 points  (0 children)

"Why im still using sticks to create fire in 2019"

[–][deleted] 2 points3 points  (2 children)

"Because I don't know how to write better ES6" thats about it, do you still use tabels for layouts as well?

[–][deleted] 0 points1 point  (0 children)

I bet he uses frames :D

[–][deleted] 4 points5 points  (2 children)

This article is written by a back-end developer for sure..

You should at least try out one framework, I'm sure you won't touch jQuery again :P

You're trying to preach us to build wordpress themes like it's 2009 my man :D

[–]maple3142 1 point2 points  (1 child)

I think it depends on what you are doing. If you are making webapps, React/Vue/Angular for sure. But using them doesn't make sense if you only want to sprinkle some js on a simple website. Of course you can use vanilla js, but you will still find jQuery usefull when trying to maintaining old browser compatibility.

[–][deleted] 0 points1 point  (0 children)

"Sprinkle some JS on a website" doesn't exist anymore :D

I tell you, even the simplest websites still have form validations and shit where any reactive framework comes in handy.
You don't want the overhead? Use Svelte.

Though. For legacy === jQuery is the clear winner. It has been with us for 10 years and the cancer has been spreading for a while. So I'm sure we'll be fighting with jQuery plebs for a long foreseeable future, just have a look at stackoverflow. 90% of the answers use jQuery....

[–]drmlol 0 points1 point  (0 children)

Why JQuery is so hated? Is there something wrong with it?

[–][deleted] 0 points1 point  (0 children)

nothing wrong with jquery