DEV Community

Discussion on: Do we still need jQuery in 2020?

Collapse
 
rokobuljan profile image
Roko C. Buljan

You might not need to. The image you pointed is not that relevant any more.
IE9 market share is 0.6% IE11 is 1.3% you're speaking about dead browsers whose use is mostly recorded by developers testing and still supporting those.

Therefore we can calmly finally call it a decade and build for modern browsers. And since NodeList has the prototype forEach...

document.querySelectorAll(selector).forEach(el => {

});
Enter fullscreen mode Exit fullscreen mode

Or use function instead of the => Arrow Function syntax to support IE11

Collapse
 
jessren profile image
JessRen

Yeeees. Thanks for highlighting. That thesaurus is clunky.