Hacker News new | ask | show | jobs
by wtetzner 2709 days ago
That doesn't mean you shouldn't have a reasonable understanding of what those abstractions are doing, though.
1 comments

For the purpose of selecting a DOM node in a performant manner, you really don't need to know how CSS/XPath traverse the DOM. You just need to know that querySelector exists.

In general, I think it's enough to know what your abstraction does, rather than how it does it.