mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
d966fdd438
`RouterOutlet` components can initialize _during_ change detection (for example, if they exist in an embedded view). When this happens, data from the router should be bound immediately to the routed components rather than not being available until the next round of change detection. This is mostly just a problem for testing because change detection is triggered manually. It would be surprising to have to detect changes _twice_ on the fixture in order to get data bound to the routed component. PR Close #49741