Advanced

Publicado em: 02 Março 2021
no canal de: Decoded Frontend
48,481
1.3k

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


Nesta página do site você pode assistir ao vídeo on-line Advanced duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Decoded Frontend 02 Março 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 48,481 vezes e gostou 1.3 mil espectadores. Boa visualização!