-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
CanJS 6 relies heavily on this module. While it works right now, it needs a few improvements:
- Allow mutations to the document without having to use
can-dom-mutate/node/. We can use isConnected in browsers that support it (currently everyone except edge). - Make sure it doesn't "leak" if the document gets disconnected without handlers being removed. It seemed like there were weakmap problems.
Other:
- When using createTreeWalker, only walk elements that were actually listened for.
- TreeWalker also gets all nodes instead of nodes that actually have listeners (making a big array)
- We should setup some general performance tests
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels