-
Notifications
You must be signed in to change notification settings - Fork 27k
fix(core): complete post-hydration cleanup in components that use ViewContainerRef #57300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…wContainerRef Previously, if a component injects a `ViewContainerRef`, the post-hydration cleanup process doesn't visit inner views to cleanup dehydrated views in nested LContainers. This commit updates the logic to recognize this situation and enter host LView to complete cleanup. Resolves angular#56989.
thePunderWoman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, simple fix! LGTM
|
This PR was merged into the repository by commit 26ddbdb. The changes were merged into the following branches: main, 18.1.x, 18.2.x |
…wContainerRef (#57300) Previously, if a component injects a `ViewContainerRef`, the post-hydration cleanup process doesn't visit inner views to cleanup dehydrated views in nested LContainers. This commit updates the logic to recognize this situation and enter host LView to complete cleanup. Resolves #56989. PR Close #57300
…wContainerRef (#57300) Previously, if a component injects a `ViewContainerRef`, the post-hydration cleanup process doesn't visit inner views to cleanup dehydrated views in nested LContainers. This commit updates the logic to recognize this situation and enter host LView to complete cleanup. Resolves #56989. PR Close #57300
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Previously, if a component injects a
ViewContainerRef, the post-hydration cleanup process doesn't visit inner views to cleanup dehydrated views in nested LContainers. This commit updates the logic to recognize this situation and enter host LView to complete cleanup.Resolves #56989.
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?