RxJS Scan Operator - How to Manage the State
10.4 هزار بار بازدید -
4 ماه پیش
-
Learn everything about Angular Forms
Learn everything about Angular Forms 🚀
https://bit.ly/advanced-angular-forms...
👉 See All Angular Courses - https://bit.ly/discounted-course-bundle
Have you ever had a use case when you had an RxJS data stream and wanted to shape some state from it? Watch this video until the end, and you will learn how you can create and manage the state right in the stream so that you can deliver data right to the component template, bypassing the explicit subscription in your component and how to do it the way which scales, so you can easily add functionality state resetting or removing certain elements from the state, etc.
Thank you for your attention, and don't forget to share this video if you find it useful.
🕒 Time Codes:
00:00:00 - Intro;
00:01:38 - Disadvantages of the current solution;
00:03:04 - scan RxJS operator for rescue;
00:05:58 - Courses Promo
00:07:16 - How to reset state;
00:09:20 - Improving State Reset;
00:14:26 - Is RxJS still relevant in Angular;
00:15:45 - Outro;
🔗 Source code from the tutorial:
https://github.com/DMezhenskyi/managi...
💡 Short Frontend Snacks (Tips) every week here:
Twitter - Twitter: DecodedFrontend
Instagram - Instagram: decodedfrontend
LinkedIn - LinkedIn: dmezhenskyi
https://bit.ly/advanced-angular-forms...
👉 See All Angular Courses - https://bit.ly/discounted-course-bundle
Have you ever had a use case when you had an RxJS data stream and wanted to shape some state from it? Watch this video until the end, and you will learn how you can create and manage the state right in the stream so that you can deliver data right to the component template, bypassing the explicit subscription in your component and how to do it the way which scales, so you can easily add functionality state resetting or removing certain elements from the state, etc.
Thank you for your attention, and don't forget to share this video if you find it useful.
🕒 Time Codes:
00:00:00 - Intro;
00:01:38 - Disadvantages of the current solution;
00:03:04 - scan RxJS operator for rescue;
00:05:58 - Courses Promo
00:07:16 - How to reset state;
00:09:20 - Improving State Reset;
00:14:26 - Is RxJS still relevant in Angular;
00:15:45 - Outro;
🔗 Source code from the tutorial:
https://github.com/DMezhenskyi/managi...
💡 Short Frontend Snacks (Tips) every week here:
Twitter - Twitter: DecodedFrontend
Instagram - Instagram: decodedfrontend
LinkedIn - LinkedIn: dmezhenskyi
4 ماه پیش
در تاریخ 1403/02/18 منتشر شده
است.
10,440
بـار بازدید شده