How To Make Angular Code More Reusable

Published: 01 August 2023
on channel: Decoded Frontend
30,144
1.3k

Console Ninja Extension for your VS Code - https://bit.ly/console-ninja

Level up your Angular skills with my advanced courses 🚀
https://bit.ly/advanced-angular-courses

From this video, you will learn why composition is much better than inheritance and Angular 15 makes directive composition much easier by introducing the new Dirctive Composition API. It helps you to split behavior among different directives and reuse them in components that need that behavior. I hope you will like the video and if so, please share it with your friends and colleagues. Enjoy!

Source code for this tutorial:
https://github.com/DMezhenskyi/angula...

💡 Short Frontend Snacks (Tips) every week here:
Twitter -   / decodedfrontend  
Instagram -   / decodedfrontend  
LinkedIn -   / dmezhenskyi  

🕒 Time Codes:
00:00:00 - Intro;
00:00:44 - Inheritance vs Composition in Action;
00:06:03 - Angular Composition API in Action;
00:14:04 - Console Ninja Integration;
00:15:21 - Other tips about HostDirectives;
00:18:36 - Outro;

#angular


Watch video How To Make Angular Code More Reusable online without registration, duration hours minute second in high quality. This video was added by user Decoded Frontend 01 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 30,144 once and liked it 1.3 thousand people.