Is this how we will handle errors reactively with signals in Angular?
In this video we investigate the relationship between RxJS and Signals in Angular apps, and specifically a technique we can use to handle errors that is reactive and declarative.
RxJS reactive error handling: https://youtu.be/kb9CBd2c4uA
Source code: https://github.com/joshuamorony/signal-error-example
Implementation of toSignalWithError: https://github.com/joshuamorony/oss/blob/main/packages/signal-with-error/src/lib/signal-with-error.ts
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
Learn Angular with Ionic: https://ionicstart.com
#angular #signals #rxjs
0:00 Introduction
0:13 Pre-signals approach
0:39 Post-signals approach?
1:27 Error handling
1:57 The solution
3:35 Helper utility
4:35 Conclusion
- More tutorials: https://eliteionic.com
- Follow me on Twitter: https://twitter.com/joshuamorony