Join our weekly discussion about how to build top end Angular applications and become an Angular expert.
Unsubscribing Observables on Component Destroy With Lucas Paganini- AiA 360
November 24, 2022
1:04:08
46.37 MB
Downloads: 0
Lucas Paganini is a content creator and developer. Together with his team creates educational content about web development through articles and YouTube tutorials. He has been working on Angular since 2017 and is the CEO of a remote company called Unvoid. He joins Chuck on the show to talk about his article, "Automatically Unsubscribe Observables on Destroy".
About this Episode
- Managing Observables when your component is destroyed
- Different roles in the Dependency Injector System
- Ways in providing Dependency
- The Unsubscribe Service
Sponsors
- Chuck's Resume Template
- Developer Book Club starting with Clean Architecture by Robert C. Martin
- Become a Top 1% Dev with a Top End Devs Membership
Links
- Angular: Automatically Unsubscribe Observables on Destroy - YouTube
- Angular: Automatically Unsubscribe Observables on Destroy
- What's New in Angular v14 - A Game Change - YouTube
- Official Angular docs - The Dependency Injection system
- Official Angular docs - Platform injector
- Official Angular docs - Benefits of using providedIn: “root”
- Official Angular docs - ngOnDestroy for Services
- Official Angular docs - Dependency Injection resolution modifiers @Self @SkipSelf @Host
- Official Angular docs - Angular inject() function
- Official Angular docs - Performance improvements with manual change detection
- Official Angular docs - ViewRef.onDestroy
- Official RxJS docs - takeUntil operator
- Memory leaks, When to Unsubscribe in Angular, by Netanel Basal
- Unleash the Power of DI Functions in Angular, by Netanel Basal
- Angular utilities library @lucaspaganini/angular-utils
- Angular utilities library @lucaspaganini/angular-utils source code - UnsubscriberService.takeUntilDestroy
- Unvoid
- Lucas Paganini
- Twitter: @LucasPaganini
- Instagram: lucaspaganini
Picks
- Charles - Timpanogos Game Convention
- Charles - Keeper of the Lost Cities
- Lucas - Flavio Almeida Angular courses (warning: a lot of content in Portuguese)
- Lucas - Thoughtram Angular blog
- Lucas - Overcooked 2 game
- Lucas - Game Night movie