-
Notifications
You must be signed in to change notification settings - Fork 27.1k
ADEV: rework "Programmatically rendering components" section to mention @defer #56782
Copy link
Copy link
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: docs-infraAngular.dev application and infrastructureAngular.dev application and infrastructuregood first issueLabel noting a good first issue to be worked on by a community memberLabel noting a good first issue to be worked on by a community memberopen for contributionsAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).
Milestone
Description
Describe the problem that you experienced
Since v18, @defer became a stable feature and can be used in many use-cases where NgComponentOutlet and ViewContainerRef were previously used. The "Programmatically rendering components" section can be reworked to show an example of NgComponentOutlet (we can probably drop the ViewContainerRef example, potentially moving it to the "Usage notes" of the ViewContainerRef.createComponent function itself) and after that we can show how defer loading can be achieved via @defer.
Enter the URL of the topic with the problem
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: docs-infraAngular.dev application and infrastructureAngular.dev application and infrastructuregood first issueLabel noting a good first issue to be worked on by a community memberLabel noting a good first issue to be worked on by a community memberopen for contributionsAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).