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
Смотрите видео How To Make Angular Code More Reusable онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Decoded Frontend 01 Август 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 30,144 раз и оно понравилось 1.3 тысяч людям.