Hacker News new | ask | show | jobs
by julianlam 1488 days ago
That's fine, pretty sure browsers alias $ and $$ to querySelector and querySelectorAll already (although I could be very wrong)

But speaking as someone who writes vanilla by default, it really really isn't as big an issue as you think it is.

2 comments

I know. Most of its funtionality was superseeded by Js APIs which I already use (Promises vs Deferred, fetch vs. ajax). I might still need an alternative for building and editing query string parameters though. Plus most of the somewhat outdated libs in our project use it anyway.
> pretty sure browsers alias $ and $$ to querySelector and querySelectorAll already (although I could be very wrong)

You are wrong.