-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Regarding @defer block loading #68731
Copy link
Copy link
Open
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimegemini-triagedLabel noting that an issue has been triaged by geminiLabel noting that an issue has been triaged by geminineeds reproductionThis issue needs a reproduction in order for the team to investigate furtherThis issue needs a reproduction in order for the team to investigate further
Milestone
Metadata
Metadata
Assignees
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimegemini-triagedLabel noting that an issue has been triaged by geminiLabel noting that an issue has been triaged by geminineeds reproductionThis issue needs a reproduction in order for the team to investigate furtherThis issue needs a reproduction in order for the team to investigate further
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
No
Description
I’m using the @defer block in Angular 21. I have 4 components imported into app.component.ts, and I’m trying to lazy-load one of them using @defer. However, even after refreshing the page, all deferred components are loaded. In this case, the @defer block is not working as expected. When I import the component into app.component.ts, it is already eagerly loaded, which I can see in the Network tab. Could you please help me fix this issue?
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version)Anything else?
No response