8000 feat(core): emit template function for template related profiler hooks by AleksanderBodurri · Pull Request #60174 · angular/angular · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(core): emit template function for template related profiler hooks #60174

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

AleksanderBodurri
Copy link
Member

Previously, the profiler would only emit the specific template event and context when a template is created/updated, but not the template function related to the event.

This commit emits this function by using the third argument of the profiler function, which previously was only used for lifecycle hooks and output listeners. This commit also renames this arg to eventFn to express that it varies depending on the event type emitting from the profiler.

Note: this change is fully backwards compatible, since previously these template events did not use the third arg of the profiler function.

@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: core Issues related to the framework runtime labels Mar 3, 2025
@ngbot ngbot bot added this to the Backlog milestone Mar 3, 2025
@AleksanderBodurri AleksanderBodurri force-pushed the emit-template-function-in-create-update-hooks branch 2 times, most recently from 99ec09f to 550ebc5 Compare March 3, 2025 02:50
Previously, the profiler would only emit the specific template event and context when a template is created/updated, but not the template function related to the event.

This commit emits this function by using the third argument of the profiler function, which previously was only used for lifecycle hooks and output listeners. This commit also renames this arg to eventFn to express that it varies depending on the event type emitting from the profiler.

Note: this change is fully backwards compatible, since previously these template events did not use the third arg of the profiler function.
@AleksanderBodurri AleksanderBodurri force-pushed the emit-template-function-in-create-update-hooks branch from 550ebc5 to 640f5bf Compare March 3, 2025 02:57
@pkozlowski-opensource
Copy link
Member

Thnx @AleksanderBodurri !

@pkozlowski-opensource pkozlowski-opensource removed the request for review from dgp1130 March 3, 2025 10:04
@pkozlowski-opensource pkozlowski-opensource added target: minor This PR is targeted for the next minor release action: merge The PR is ready for merge by the caretaker labels Mar 3, 2025
@mmalerba
Copy link
Contributor
mmalerba commented Mar 3, 2025

This PR was merged into the repository by commit d260ca3.

The changes were merged into the following branches: main

@mmalerba mmalerba closed this in d260ca3 Mar 3, 2025
@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 Apr 3, 2025
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 detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0