Re:Native Javascript alternatives to jQuery methods
by giornogiovanna on Sunday March 31, 2019 @10:27AM
(#19535733)
Yes, they're effectively the same, but one is slightly more ergonomic, and the other saves you 30KB (which isn't much, in my opinion) and the pain of managing yet another dependency.
[ Parent
| on HN ]
Re:Native Javascript alternatives to jQuery methods
by StillBored on Sunday March 31, 2019 @11:19PM
(#19540166)
Its only 30k until your project gets large enough that the jquery terseness makes up the difference.