mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
be979c907b
This commit adds a new `IncrementalResourceCompilationTicket` which reuses an existing `NgCompiler` instance and updates it to optimally process template-only and style-only changes. Performing this update involves both instructing `DecoratorHandler`s to react to the resource changes, as well as invalidating `TemplateTypeChecker` state for the component(s) in question. That way, querying the `TemplateTypeChecker` will trigger new TCB generation for the changed template(s). PR Close #40561