Hacker News new | ask | show | jobs
by michaelwww 4841 days ago
jQuery if you'd like to support older browsers, Zepto if not and you are targeting mobile.

By the way, dartlang.org includes this tongue-in-cheek statement: One area where the DOM has a bunch of baggage is finding elements. Today’s DOM has a pile of methods for finding stuff. All of this piled up before jQuery appeared on a mountaintop to give us the revelation that Thou Shalt Find Nodes By Using CSS Selectors. With the One True Way in hand, we’ve stripped it down to just two (!) methods: query() and queryAll().