In this video #tutorial we will have a look at an advanced angular design pattern - forRoot() / forChild(). We will see what kind of problems it used to solve many years ago and how we can use it today in order to configure Angular modules. Besides this we will have a look at source code of Angular and check how Angular team used this pattern for RouterModule. I hope you will find something interesting from this video and I am looking forward for your feedback. Enjoy watching!
📣 Become a Pro in Angular Material Theming (Advanced Workshop) 📣
https://bit.ly/angular-material-themi...
✅ Use 10%-off coupon code: YOUTUBE_DISCOUNT (Only 2 coupons left)
📣 Blazing fast GraphQL Backend just in 1 Day with Hasura Engine 📣
https://bit.ly/complete-hasura-course
✅ 20%-off coupon code: HASURA-EASY-START
📣 Course for beginners 📣
https://bit.ly/angular-for-beginners
Time Codes:
00:00:00 - Intro;
00:01:18 - Demo project overview;
00:03:55 - Implement a feature which describes the problem;
00:11:14 - Demonstration of multi-service bug for lazy modules;
00:13:17 - Solving the issue using forRoot() pattern;
00:18:02 - Using forChild() pattern to configure lazy modules;
00:28:31 - forRoot()/forChild() pattern in Angular source code;
00:31:28 - Outro.
🔗 Everything about Angular Dependency Injection in this playlist:
• Dependency Injection in Angular
🔗 Link to the source code on GitHub:
https://github.com/DMezhenskyi/angula...
#webdevelopment #frontend #angularpatterns
En esta página del sitio puede ver el video en línea Advanced de Duración hora minuto segunda en buena calidad , que subió el usuario Decoded Frontend 02 marzo 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 48,481 veces y le gustó 1.3 mil a los espectadores. Disfruta viendo!