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
By the time the destroy event of a component is run, the bound scope properties are no longer bound to their parent component properties. In other words, if you pass a cross bind a scope property from a parent to child component like:
<my-componentproduct="{product}"></my-component>
Then you want to clean up that product reference while the component is destroyed like:
This won't throw an error, but the product property of the parent component won't be affected by this, because the property bindings are unbound before destroyed is called. I think we should change the order so the bindings are cleaned up after destroyed is called.
The text was updated successfully, but these errors were encountered:
We could make minor the default branch. I don't think that finding all the still open but referenced issues in merged PRs against minor is necessary though. I'd also rather have people watching an issue be notified if a new release has been made not just if the fix made it in a development branch.
By the time the
destroy
event of a component is run, the bound scope properties are no longer bound to their parent component properties. In other words, if you pass a cross bind a scope property from a parent to child component like:Then you want to clean up that product reference while the component is destroyed like:
This won't throw an error, but the product property of the parent component won't be affected by this, because the property bindings are unbound before destroyed is called. I think we should change the order so the bindings are cleaned up after destroyed is called.
The text was updated successfully, but these errors were encountered: