Comment by eszed

1 day ago

From bevr1337's comment, above:

> its API was a reflection of the domain. As a developer, I want to query for a node (CSS selector, xpath, etc.) to affect change and traverse to other nodes

That's what I miss about it.

Doesn't querySelector(All) provide this?

  • Not entirely. There's a reason people do Array.from(querySelectorAll) to do more than just `forEach`

    • So you are saying that Array.from(querySelectorAll) gets you there? What are you missing then?

      Genuinely asking, I have no clue what's being alluded to without being clearly mentioned in this thread.

      11 replies →