Why component store is a great default for state management in Angular
In this video, we walk through how to use @ngrx/component-store to manage local state in an Angular application. We use an example application from a previous video that needs to manage login form state.
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
Learn Angular with Ionic: https://ionicstart.com
Source code: https://github.com/joshuamorony/angular-three-login-screen
Other NGT video: https://www.youtube.com/watch?v=SPSspwr1-u8
More RxJS content: https://www.youtube.com/playlist?list=PLvLBrJpVwC7oDMei6JYcySgH1hMBZti_a
Component store usage docs: https://ngrx.io/guide/component-store/usage
0:00 Introduction
0:51 Some context
1:37 What does component store do?
4:13 Reading state
6:10 Writing state
11:28 Benefits
#ionic #angular #ngrx
- More tutorials: https://eliteionic.com
- Follow me on Twitter: https://twitter.com/joshuamorony