-
Notifications
You must be signed in to change notification settings - Fork 27k
fix(core): signals should be tracked when embeddedViewRef.detectChanges is called #55719
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
525f882 to
9342ac6
Compare
9342ac6 to
1903d99
Compare
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.
What do you think about having a debug assertion here that the consumer is a temporary allocated one?
bfe7a55 to
c29b3ef
Compare
…es is called This commit fixes an issue where signals in embedded views are not tracked if they are refreshed with `EmbeddedViewRef.detectChanges` directly. We had previously assumed that embedded views were always refreshed along with their hosts.
c29b3ef to
264393e
Compare
|
This PR was merged into the repository by commit 4c7d5d8. The changes were merged into the following branches: main, 18.0.x |
|
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. |
This commit fixes an issue where signals in embedded views are not tracked if they are refreshed with
EmbeddedViewRef.detectChangesdirectly. We had previously assumed that embedded views were always refreshed along with their hosts.