The CLEANEST authentication I've ever built with Angular
See how to deal with state management for authentication in an Angular application using some of the latest features like signals in conjunction with RxJS and many other concepts like reactive and declarative code.
Source code: https://github.com/joshuamorony/angularstart-chat
More on the state management approach: https://www.youtube.com/watch?v=R4Ff2bPiWh4
More on Firebase emulators: https://www.youtube.com/watch?v=B0-Rl5Vy4Fs
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
Learn Angular with Ionic: https://ionicstart.com
0:00 Introduction
1:18 Injection tokens
1:45 Auth service
2:42 Register service
4:30 Login service
5:20 Reauthentication
6:55 @defer
#angular #rxjs #signals
- More tutorials: https://eliteionic.com
- Follow me on Twitter: https://twitter.com/joshuamorony