Skip to content

perf(cdk/clipboard): do not run change detection if there are no cdkCopyToClipboardCopied listeners#24204

Closed
arturovt wants to merge 1 commit into
angular:masterfrom
arturovt:perf/cdk-clipboard-click
Closed

perf(cdk/clipboard): do not run change detection if there are no cdkCopyToClipboardCopied listeners#24204
arturovt wants to merge 1 commit into
angular:masterfrom
arturovt:perf/cdk-clipboard-click

Conversation

@arturovt

Copy link
Copy Markdown
Contributor

This PR does have breaking change.

@arturovt arturovt requested a review from a team January 13, 2022 17:05

@crisbeto crisbeto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that the one less change detection is worth the extra code we have to ship.

@josephperrott josephperrott removed the request for review from a team January 27, 2022 16:52
@crisbeto

crisbeto commented Mar 5, 2022

Copy link
Copy Markdown
Member

We talked about this within the team and we decided that all the extra code isn't enough to justify an extra change detection so far down in the component tree.

@crisbeto crisbeto closed this Mar 5, 2022
@angular-automatic-lock-bot

Copy link
Copy Markdown

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 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants