Skip to content

Conversation

@pkozlowski-opensource
Copy link
Member

Angular lifecycle hooks should never be run as part of the reactive context: we do not expect that signal reads in lifecycle hooks report to any consumers.

In the current Angular some of the lifecycle hooks can be flushed early, while executing template update pass. We need to make sure that signal reads in those lifecycle hooks do not register as part of the effect that marks components for check.

@pkozlowski-opensource pkozlowski-opensource added area: core Issues related to the framework runtime target: major This PR is targeted for the next major release labels Apr 4, 2023
@ngbot ngbot bot modified the milestone: Backlog Apr 4, 2023
@pkozlowski-opensource pkozlowski-opensource added the action: review The PR is still awaiting reviews from at least one requested reviewer label Apr 4, 2023
@pkozlowski-opensource pkozlowski-opensource marked this pull request as ready for review April 4, 2023 14:05
Angular lifecycle hooks should never be run as part of the reactive
context: we do not expect that signal reads in lifecycle hooks
report to any consumers.

In the current Angular some of the lifecycle hooks can be flushed
early, while executting template update pass. We need to make sure
that signal reads in those lifecycle hooks do not register as part
of the effect that marks components for check.
"
@pkozlowski-opensource pkozlowski-opensource added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Apr 5, 2023
@pkozlowski-opensource
Copy link
Member Author

caretaker note: I think that G3 failures are unrelated

@dylhunn
Copy link
Contributor

dylhunn commented Apr 5, 2023

This PR was merged into the repository by commit df1dfc4.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants