Skip to content

perf(router): run loadComponent in parallel with route resources - #71775

Open
atscott wants to merge 1 commit into
angular:mainfrom
atscott:router-parallel-loadcomponent-resources
Open

atscott wants to merge 1 commit into
angular:mainfrom
atscott:router-parallel-loadcomponent-resources

Conversation

@atscott

@atscott atscott commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Create the target router state before loading components and run loadComponents in parallel with setupAndRunResources so route resources can start fetching while lazy component chunks download.

@angular-robot angular-robot Bot added area: performance Issues related to performance area: router labels Nov 2, 2026
@ngbot ngbot Bot added this to the Backlog milestone Nov 2, 2026
@atscott atscott added target: patch This PR is targeted for the next patch release target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release labels Nov 2, 2026
@atscott
atscott force-pushed the router-parallel-loadcomponent-resources branch from f91deb7 to 9adb0f2 Compare November 2, 2026 21:26
@atscott
atscott requested a review from leonsenft November 3, 2026 17:47
Create the target router state before loading components and run loadComponents in parallel with setupAndRunResources so route resources can start fetching while lazy component chunks download.
@atscott
atscott force-pushed the router-parallel-loadcomponent-resources branch from 9adb0f2 to 23dfb8a Compare November 3, 2026 23:24
@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: performance Issues related to performance area: router target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants