Re:Native Javascript alternatives to jQuery methods
by osrec on Sunday March 31, 2019 @10:08AM
(#19535640)
jQuery exists for a reason. It gives you portability across browsers and versions, and is generally quite a convenient library to use. If you're not using it for animation, it's also pretty fast. I personally love it, and don't intend to stop using it any time soon (combined with a bit of lodash)!
[ Parent
| on HN ]
Re:Native Javascript alternatives to jQuery methods
by commandlinefan on Sunday March 31, 2019 @10:15AM
(#19535666)
Well, these days, native JavaScript is pretty portable, so portability across browsers and versions isn’t really a big selling point for jQuery any more (you’re not support IE 6, are you?), but looking at the samples in the link, the brevity of jQuery is impossible to ignore.