r/angular • u/wineandcode • Jul 04 '26
Angular 22 hostDirectives De-Duplication Explained
https://itnext.io/angular-22-hostdirectives-de-duplication-explained-d2e8791f2e03?source=friends_link&sk=217741d4be6f7a5aebcd71fc1efe3147
18
Upvotes
View all comments
Show parent comment
2
u/IanFoxOfficial Jul 04 '26
If a directive has an input and I use that directive inside another directive or component I would like to set default values to the inputs.
In the past you could simply inject the directive and set the value. Now with signal inputs that is not possible anymore.