angular/packages/forms/src
Andrew Kushnir 6414590f8d perf(forms): make RadioControlRegistry class tree-shakable (#41126)
This commit makes the `RadioControlRegistry` class tree-shakable by adding the `providedIn` property to its
`@Injectable` decorator. Now if the radio buttons are not used in the app (thus no `RadioControlValueAccessor`
directive is initialized), the `RadioControlRegistry` should not be included into application's prod bundle.

PR Close #41126
2021-03-16 09:35:15 -07:00
..
directives perf(forms): make RadioControlRegistry class tree-shakable (#41126) 2021-03-16 09:35:15 -07:00
directives.ts perf(forms): make RadioControlRegistry class tree-shakable (#41126) 2021-03-16 09:35:15 -07:00
form_builder.ts perf(forms): make FormBuilder class tree-shakable (#41126) 2021-03-16 09:35:15 -07:00
form_providers.ts perf(forms): make RadioControlRegistry class tree-shakable (#41126) 2021-03-16 09:35:15 -07:00
forms.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
model.ts docs(forms): add array example to get method (#41008) 2021-02-26 08:24:22 -08:00
validators.ts perf(forms): avoid direct references to the Validators class (#41189) (#41220) 2021-03-15 12:15:16 -07:00
version.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00