4 ms·
> From my very biased opinion Fixed that for you. There are better ways to integrate with the DOM than jQuery nowadays. It’s not a good fit unless you’re just
by Rumudiez 8y ago
> From my very biased opinion
Fixed that for you. There are better ways to integrate with the DOM than jQuery nowadays. It’s not a good fit unless you’re just trying to tack on a dropdown menu onto a decade old Wordpress theme, IMO.
- dang 8y agoCan you please edit snarky swipes out of your comments here? This post would be just fine with just the last two sentences. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- yoz-y 8y agoI'd say it's the opposite. These no-jQuery methods are good if you are "just trying to tack on a dropdown menu onto a decade old Wordpress theme", however if you want to manipulate DOM in a more complex manner and do not wish to pull in an entire frontend rendering library, then jQuery is perfectly fine. You will have/want to factorise these methods anyways because some of them are just ridiculously long. jQuery has already done that and at least it is very consistent.
- fabiospampinato 8y agoI actually meant "very biased", not "very unbiased"! Apologies, obviously I have some strong opinions on this since I maintain cash.