Skip to content

Use tree walkers to list and process changed nodes in a DOM subtree #60

Description

@dariomannu

When Rimmel mounts an element to the DOM, a MutationObserver is called to activate all data bindings.

We want to switch to using document.createTreeWalker() instead of filtering through a mutationList as per existing TODO1 and TODO2 comments, which should bring a performance improvement for free.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions