Skip to content

Refactor find/match algorithm #44

Description

@bezborodow

While investigating #42, I noticed that our find/match algorithm could be improved by using closest.

For example:

const element = addedNode.closest(selector)
  || addedNode.querySelector(selector);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions