While investigating #42, I noticed that our `find`/`match` algorithm could be improved by using `closest`. For example: ```javascript const element = addedNode.closest(selector) || addedNode.querySelector(selector); ```
While investigating #42, I noticed that our
find/matchalgorithm could be improved by usingclosest.For example: