Ask HN: Is jQuery still a thing?
11–20 of 90 posts
Re: Ask HN: Is jQuery still a thing?
#12Re: Ask HN: Is jQuery still a thing?
#13Re: Ask HN: Is jQuery still a thing?
#14jQuery might not be the fancy new hotness on the block, but it still works and is still used. I get the feeling more and more that developers are embarrassed about using it, similar to how some devs are embarrassed about using PHP, yet it's still a workhorse.
The fact that it still works is important. As long as I've got clients asking for IE 8 support, jQuery's going to be in my toolbox. And probably even after.
Re: Ask HN: Is jQuery still a thing?
#15jQuery might not be the fancy new hotness on the block, but it still works and is still used. I get the feeling more and more that developers are embarrassed about using it, similar to how some devs are embarrassed about using PHP, yet it's still a workhorse.
Re: Ask HN: Is jQuery still a thing?
#16Do you know a better library for support of a wide array of browsers going back many years, with a huge log of support issues and test cases behind it?
Re: Ask HN: Is jQuery still a thing?
#17It depends on what you're doing, and what you're comfortable working with. If you have page content that is largely rendered server-side, with bits of interactivity and some basic AJAX on the frontend, jQuery's your friend. If you want to build a single-page application that rests mostly or entirely on the frontend, thats what the newer frameworks and methodologies are designed to do, and you're better off going with…
Re: Ask HN: Is jQuery still a thing?
#18For UI elements that have a lot of internal state, React can remove a ton of complexity. However, the delay between initial page render and the React component rendering itself can sometimes be distracting when those elements are key parts of the UI. This is a solved problem if you're using Node on the server, obviously, but if you're rendering pages with other server-side technology it is a drawback to React. jQuery does not have these issues as it just attaches itself to the server-rendered markup.
Re: Ask HN: Is jQuery still a thing?
#19The frameworks you mentioned are not exactly in the same "niche" as jQuery, which encapsulates a friendly way to manipulate DOM, make ajax requests, etc.
However, if maintainability is your focus, write in plain js as much as possible. Frameworks come and go. Code written in ES5 will still work in 5 years from now, while jQuery code may get at least partially deprecated.
Re: Ask HN: Is jQuery still a thing?
#20And if you don't work for a company that is in the JavaScript-framework-of-the-month mode, you should know JQuery is still king.