refactor(core): remove ComponentFactoryResolver & ComponentFactory from the api surface#68055
Merged
atscott merged 1 commit intoangular:mainfrom Apr 7, 2026
Merged
Conversation
ComponentFactoryResolver & ComponentFactory from the api surface
atscott
approved these changes
Apr 6, 2026
atscott
approved these changes
Apr 6, 2026
Contributor
atscott
left a comment
There was a problem hiding this comment.
reviewed-for: public-api
…om the api surface"" Those APIs date back to pre-ivy times and are long deprecated. BREAKING CHANGE: `ComponentFactoryResolver` and `ComponentFactory` are no longer available. Pass the component class directly to APIs that previously required a factory, such as `ViewContainerRef.createComponent` or use the standalone `createComponent` function.
942101b to
595d5d7
Compare
Member
Author
Contributor
|
This PR was merged into the repository. The changes were merged into the following branches:
|
JeanMeche
added a commit
to JeanMeche/angular
that referenced
this pull request
Apr 12, 2026
This API was deprecated for a longtime, and was remove by angular#68055 from the public API. We do have alternatives to this old API, so we can entirely remove it to spare some bytes
JeanMeche
added a commit
to JeanMeche/angular
that referenced
this pull request
Apr 12, 2026
This API was deprecated for a longtime, and was remove by angular#68055 from the public API. We do have alternatives to this old API, so we can entirely remove it to spare some bytes
JeanMeche
added a commit
to JeanMeche/angular
that referenced
this pull request
Apr 12, 2026
This API was deprecated for a longtime, and was remove by angular#68055 from the public API. We do have alternatives to this old API, so we can entirely remove it to spare some bytes
JeanMeche
added a commit
to JeanMeche/angular
that referenced
this pull request
Apr 12, 2026
This API was deprecated for a longtime, and was remove by angular#68055 from the public API. We do have alternatives to this old API, so we can entirely remove it to spare some bytes
JeanMeche
added a commit
to JeanMeche/angular
that referenced
this pull request
Apr 12, 2026
This API was deprecated for a longtime, and was remove by angular#68055 from the public API. We do have alternatives to this old API, so we can entirely remove it to spare some bytes
JeanMeche
added a commit
to JeanMeche/angular
that referenced
this pull request
Apr 12, 2026
This API was deprecated for a longtime, and was remove by angular#68055 from the public API. We do have alternatives to this old API, so we can entirely remove it to spare some bytes
JeanMeche
added a commit
to JeanMeche/angular
that referenced
this pull request
Apr 12, 2026
This API was deprecated for a longtime, and was remove by angular#68055 from the public API. We do have alternatives to this old API, so we can entirely remove it to spare some bytes
JeanMeche
added a commit
to JeanMeche/angular
that referenced
this pull request
Apr 12, 2026
This API was deprecated for a longtime, and was remove by angular#68055 from the public API. We do have alternatives to this old API, so we can entirely remove it to spare some bytes
JeanMeche
added a commit
to JeanMeche/angular
that referenced
this pull request
Apr 12, 2026
This API was deprecated for a longtime, and was remove by angular#68055 from the public API. We do have alternatives to this old API, so we can entirely remove it to spare some bytes
kirjs
pushed a commit
that referenced
this pull request
Apr 13, 2026
This API was deprecated for a longtime, and was remove by #68055 from the public API. We do have alternatives to this old API, so we can entirely remove it to spare some bytes
JeanMeche
added a commit
to JeanMeche/angular
that referenced
this pull request
Apr 13, 2026
The `ComponentFactory` has been removed from the public API in angular#68055. This commit continues the cleanup and also removes `ModuleWithComponentFactories` from the public API.
JeanMeche
added a commit
to JeanMeche/angular
that referenced
this pull request
Apr 13, 2026
The `ComponentFactory` has been removed from the public API in angular#68055. This commit continues the cleanup and also removes `ModuleWithComponentFactories` from the public API.
kirjs
pushed a commit
that referenced
this pull request
Apr 13, 2026
The `ComponentFactory` has been removed from the public API in #68055. This commit continues the cleanup and also removes `ModuleWithComponentFactories` from the public API.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Those APIs date back to pre-ivy times and are long deprecated.
BREAKING CHANGE:
ComponentFactoryResolverandComponentFactoryare no longer available. Pass the component class directly to APIs that previously required a factory, such asViewContainerRef.createComponentor use the standalonecreateComponentFunction.