forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(elements): support signal-based components
Support signal-based components in createCustomElement. Previously, the signal was overwritten by the input value, losing reactivity. This change calls setInput on the componentRef. Also remove onChanges logic in ComponentFactoryStrategy, because setInput handles this. DEPRECATED: the injector argument of ComponentNgElementStrategyFactory The injector argument is no longer needed in the constructor. Fixes angular#53981
- Loading branch information
Showing
3 changed files
with
55 additions
and
113 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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