What Are We Going To Learn?
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