-
Notifications
You must be signed in to change notification settings - Fork 27k
feat(core): add afterRender and afterNextRender
#50607
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
6d80614 to
facf9f0
Compare
701205b to
07fd41f
Compare
07fd41f to
7d1ffc9
Compare
This comment was marked as outdated.
This comment was marked as outdated.
294db1b to
76fb2e5
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.
@devknoll thanks for the updates (I've just left a few comments) 👍
Another questions/items worth considering:
- we should consider running performance tests, since we are adding code to the "hot" code path
- we need to finalize function names and what those functions return
- we can also discuss how to make the implementation tree-shakable (since it has a bit more code now), i.e. don't include the
AfterRenderHooksManagercode unless theafterRenderorafterNextRenderfunction is used - it'd be great to put together some tests into hydration spec and assert that the lifecycle hook is being invoked once hydration is completed
ae8aa78 to
baef737
Compare
AndrewKushnir
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.
Reviewed-for: public-api
jessicajaniuk
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.
reviewed-for: public-api
0063ca9 to
3627363
Compare
Add and expose the after*Render functions as developer preview
3627363 to
67dbe29
Compare
|
Caretaker notes:
This PR is now ready for merge. |
|
This PR was merged into the repository by commit e53d4ec. |
|
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. |
Add and expose the after*Render functions as developer preview PR Close angular#50607
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information