Rewriting Angular apps with NgRx/SignalStore
With Observables, the best subscription is the one you don’t have to make. Throughout this book, we used the async pipe, take(1), takeUntilDestroyed, and unsubscribe in ngOnDestroy to try and manage them. The sample code for this book has been through many reviews by various practitioners and experts over a period of six years. Every review highlighted some oversight or bug with the RxJS code.
The 3rd edition of the book provides a 99% bug-free implementation. I could never claim 100% due to the insane complexity of the RxJS ecosystem.
I take pride in not taking the easy way out. I do my best to provide realistic and complete examples for you, not just counters and to-do lists. However, these are still highly controlled and small-sized projects compared to what happens in real life. You rarely have time to go back and reevaluate your entire project. Mistakes get compounded over time. This is a sad reality of working with...