On our journey we will go through various possible solutions to subscribing to RxJs Observable.
- The .subscribe() aka “The Memory Leak”
- The .unsubscribe()
- Let’s get declarative with takeUntil
- Use the take(1) for initialization
- The fabled | async pipe
- The detour — | async pipe taken too far 😵
- The final destination — NgRx Effects
This is where we write about all things Angular. It's meant to be a place for Angular community and people interested in Angular and the Angular ecosystem.
Classic DEV Post from Dec 18 '18