The easy way to handle ASYNC PIPE errors reactively
In this video, we look at how to handle async pipe errors in Angular reactively using component store. This video incorporates techniques from two previous videos - one where we handle errors using the async pipe, and another where we create dumb components to handle displaying loading templates.
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
Learn Angular with Ionic: https://ionicstart.com
0:00 Introduction
0:45 The problem
1:43 The plan
2:32 Using Component Store
5:02 Using a dumb component
6:18 Conclusion
Source code: https://github.com/joshuamorony/component-store-error-handling
Previous videos
- Handling async pipe errors: https://www.youtube.com/watch?v=kb9CBd2c4uA
- Loading template: https://www.youtube.com/watch?v=eWanq3Mbxjg
Component store
- Brandon Roberts: https://www.youtube.com/watch?v=r0Rzt4lQ0T0
- Me: https://www.youtube.com/watch?v=gYzAhW_glqc
#angular #rxjs #ionic
- More tutorials: https://eliteionic.com
- Follow me on Twitter: https://twitter.com/joshuamorony