Skip to content

Explain what is an injection context #49774

@mgechev

Description

@mgechev

Which @angular/* package(s) are relevant/related to the feature request?

core

Description

With inject getting popularity the concept of "injection context" is getting lots of traction. There's not much information what does this mean and it's non-trivial for folks who don't have in-depth understanding of Angular's DI or how call stacks work.

Proposed solution

Write a guide in https://angular.io/guides which explains what is an "injection context".

Alternatives considered

Reference a 3P article is suboptimal since we can change the semantics with the evolution of the framework.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions