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 has been archived by the owner on Dec 15, 2022. It is now read-only.
For example, since a component constructor receives children in the second arg, then if children ever change, the only way to have it updated is constructing a new instance? This is unlike React, where the instance is kept alive, and this.props.children is modified. Could this be hint that new instances are being created when maybe there's an alternate way to avoid creating new instances (and thus reduce overhead)?
(same with props if those are only received through constructor)
The text was updated successfully, but these errors were encountered:
For example, since a component constructor receives children in the second arg, then if children ever change, the only way to have it updated is constructing a new instance? This is unlike React, where the instance is kept alive, and
this.props.children
is modified. Could this be hint that new instances are being created when maybe there's an alternate way to avoid creating new instances (and thus reduce overhead)?(same with props if those are only received through constructor)
The text was updated successfully, but these errors were encountered: