Monday, April 1, 2019

New comment by yoz-y in "Native Javascript alternatives to jQuery methods"

I'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.



from Hacker News - New Comments: "WordPress" https://ift.tt/2HRi8ue
via IFTTT

No comments:

Post a Comment

Weston & Stoecker win GB's second gold of day

Matt Weston produced a stunning run to make more history in Cortina as he became the first Briton to win two gold medals at a Winter Olympic...