I generally replace jQuery with something like:
$ = (s, p = document) => p.querySelector(s)
$$ = (s, p = document) => p.querySelectorAll(s)
If I’m feeling arrayish I’ll wrap the latter in [...qSA] so I can use .map and the rest of them, otherwise for/of works just as well.Anyone using $.animate() and $.ajax() this year should probably stop.