angular/packages/core/src/defer
Andrew Kushnir 708ba8115f fix(core): establish proper injector resolution order for @defer blocks (#55079)
This commit updates the `@defer` logic to establish proper injector resolution order. More specifically:

- Makes node injectors to be inspected first, similar to how it happens when `@defer` block is not used.
- Adds extra handling for the Router's `OutletInjector`, until we replace it with an `EnvironmentInjector`.

Resolves #54864.
Resolves #55028.
Resolves #55036.

PR Close #55079
2024-03-28 09:23:42 -07:00
..
cleanup.ts refactor(core): defer triggers cleanup (#52291) 2023-10-23 12:00:18 -07:00
discovery.ts refactor(core): better organization of @defer runtime code (#52152) 2023-10-12 12:43:54 +02:00
dom_triggers.ts fix(core): afterRender hooks now only run on ApplicationRef.tick (#52455) 2024-01-08 11:30:27 -08:00
idle_scheduler.ts refactor(core): defer triggers cleanup (#52291) 2023-10-23 12:00:18 -07:00
instructions.ts fix(core): establish proper injector resolution order for @defer blocks (#55079) 2024-03-28 09:23:42 -07:00
interfaces.ts fix(core): collect providers from NgModules while rendering @defer block (#52881) 2024-02-23 12:30:05 -08:00
timer_scheduler.ts refactor(core): defer triggers cleanup (#52291) 2023-10-23 12:00:18 -07:00
utils.ts fix(core): handle local refs when getDeferBlocks is invoked in tests (#52973) 2023-11-16 12:20:54 -08:00