This project was generated with Angular CLI version 12.0.4. and bases on the approach to Connect Angular Forms to @ngrx/store from Netanel Basal described in his blog article Connect Angular Forms to @ngrx/store. The data in the form is pushed for every user input into the store. And is populated in the form after that by component init.
I decided to publish this demo because firstly the code in the blog article and his code in gist is from 2017 and not compatible with Angular 12. Secondly I found the article itself and the code in gist not very helpful for me as an Angular beginner.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Not tests
No tests
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.