mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
d7a7983a0a
Extracting the `'enableTracing'` option to a provider moves us towards thinking about a world where `ExtraOptions` doesn't exist to control behaviors that are opt-in/opt-out. Instead, these behaviors could be controlled by the presence (or lackthereof) of the providers which has the functionality. This is relevant to a world in which we no longer have the `RouterModule` but instead have something like `provideRouter` where the features are tree-shakeable. This change does not affect the current `RouterModule.forRoot` behavior, tree-shakeability of the option, or existence of `enableTracing` on the `ExtraOptions`. PR Close #46215
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT