You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 30, 2018. It is now read-only.
For all widgets in the widget tree properties and children are "reset" to the the object provided to w with widget render, this is not true for widgets that have been converted to a projector using the ProjectorMixin.
Both the properties and children become stateful as the original user defined properties are never re-passed via setProperties or setChildren and as a result this can cause unexpected/inconsistent behaviour.
Any projector should reset it's properties and children to a copy of the last values passed to either setProperties or setChildren before the render - The beforeRender lifecycle hook should provide a mechanism to do achieve this.
The text was updated successfully, but these errors were encountered:
Bug
For all widgets in the widget tree
properties
andchildren
are "reset" to the the object provided tow
with widgetrender
, this is not true for widgets that have been converted to a projector using theProjectorMixin
.Both the
properties
andchildren
become stateful as the original user defined properties are never re-passed viasetProperties
orsetChildren
and as a result this can cause unexpected/inconsistent behaviour.Any projector should reset it's properties and children to a copy of the last values passed to either
setProperties
orsetChildren
before therender
- ThebeforeRender
lifecycle hook should provide a mechanism to do achieve this.The text was updated successfully, but these errors were encountered: