-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
breaking changeIndicates the issue/pull request would result in a breaking changeIndicates the issue/pull request would result in a breaking changeenhancementNew feature or requestNew feature or request
Description
Enhancement
VNode and WNode are decorated with a bind property that holds the instance of the widget that originally returned it from its render. This is problematic as it inadvertently gives access to widget instances by accessing the bind property, widget instances should not be exposed to end users as instance management is entirely controlled by the framework's vdom renderer.
Considerations:
bindis used to add the DOMNode to the node handler which powers DOM based metasbindis used to auto bind property functions to the widget instance that created the DNode
The WNode is also modified when a widget registry item is available, with the widgetConstructor being updated to reference the registry item.
The goal is to ensure that VNodes and WNodes should not be mutated by the framework.
Metadata
Metadata
Assignees
Labels
breaking changeIndicates the issue/pull request would result in a breaking changeIndicates the issue/pull request would result in a breaking changeenhancementNew feature or requestNew feature or request