Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AndrewKushnir
Copy link
Contributor

This PR is a patch-only version of #41146, since it had merge conflicts with the patch branch.

…ngular#41146)

This commit updates Forms code to avoid direct references to all built-in ControlValueAccessor classes, which
prevents their tree-shaking from production builds. Instead, a new static property is added to all built-in
ControlValueAccessors, which is checked when we need to identify whether a given ControlValueAccessors is a
built-in one.

PR Close angular#41146
@AndrewKushnir AndrewKushnir added area: performance Issues related to performance area: forms target: patch This PR is targeted for the next patch release PullApprove: disable labels Mar 13, 2021
@ngbot ngbot bot modified the milestone: Backlog Mar 13, 2021
@google-cla google-cla bot added the cla: yes label Mar 13, 2021
@AndrewKushnir AndrewKushnir changed the title perf(forms): make built-in ControlValueAccessors more tree-shakable (#41146) [patch-only] perf(forms): make built-in ControlValueAccessors more tree-shakable (#41146) Mar 13, 2021
@AndrewKushnir AndrewKushnir marked this pull request as ready for review March 13, 2021 00:08
@jessicajaniuk jessicajaniuk added the action: merge The PR is ready for merge by the caretaker label Mar 13, 2021
@jessicajaniuk
Copy link
Contributor

Closed by commit 5908eda

jessicajaniuk pushed a commit that referenced this pull request Mar 13, 2021
…41146) (#41197)

This commit updates Forms code to avoid direct references to all built-in ControlValueAccessor classes, which
prevents their tree-shaking from production builds. Instead, a new static property is added to all built-in
ControlValueAccessors, which is checked when we need to identify whether a given ControlValueAccessors is a
built-in one.

PR Close #41146

PR Close #41197
This was referenced Mar 18, 2021
@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 13, 2021
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: forms area: performance Issues related to performance cla: yes PullApprove: disable target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants