TOP 6 Mistakes in RxJS code

Опубликовано: 17 Январь 2025
на канале: Decoded Frontend
24,917
1.8k

To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/DecodedFrontend.
You’ll also get 20% off an annual premium subscription.

From this video, you will learn the TOP 6 mistakes developers make when writing RxJS code. Watch this video until the end, and you will see how to make your RxJS code more reliable, clear, and performant. If you find this video useful, please share it with your colleagues and friends. Enjoy!

👉 See All Angular Courses - https://bit.ly/discounted-course-bundle

🕒 Time Codes:
00:00 - Intro
00:00:54 - Project Overview;
00:02:56 - Nested Subscriptions;
00:05:38 - Wrong usage of takeUntil for unsub;
00:07:20 - Manual Subscriptions;
00:09:34 - Observable re-execution;
00:12:20 - Improper usage of distinctUntilChanged();
00:14:46 - Brilliant Sponsorship;
00:15:54 - Side Effects in the wrong place;
00:17:40 - Outro;

🔗 Solution Source Code:
https://github.com/DMezhenskyi/angula...

💡 Short Frontend Snacks (Tips) every week here:
Twitter -   / decodedfrontend  
Instagram -   / decodedfrontend  
LinkedIn -   / dmezhenskyi  

This video was sponsored by Brilliant.