Design Patterns in Angular Source Code - Strategy Design Pattern

Опубликовано: 22 Октябрь 2024
на канале: Decoded Frontend
17,761
991

To try everything Brilliant has to offer—free—for a full 30 days, visit http://brilliant.org/DecodedFrontend/
The first 200 of you will get 20% off Brilliant’s annual premium subscription.

Today I continue a video series where I try to reveal classical GoF design patterns in Angular source code. In the previous video we learned how Design Pattern Bridge is used to Design the Angular forms library and today I am going to talk about the Strategy Design pattern and how it was used to design the ASYNC pipe in Angular. Enjoy the video and I hope you will learn something new today.

🕒 Time Codes:
00:00:00 - Intro;
00:01:03 - Which problems Strategy solves;
00:02:08 - Ad integration;
00:03:43 - Strategy pattern in Action;
00:07:22 - How it is used in ASYNC pipe code;
00:11:46 - Outro;

💥 Become a PRO in Angular with my Courses💥
🔗 https://courses.decodedfrontend.io

💡 Short Frontend Snacks (Tips) every week here:

Twitter -   / decodedfrontend  
Instagram -   / decodedfrontend  
LinkedIn -   / dmezhenskyi  

This video was sponsored by Brilliant