This project is a simple example of how to use NgRx. This project also was generated with Angular CLI version 1.3.2.
In this project you'll find simple implementation of the following ngrx packages:
- @ngrx/store - RxJS powered state management for Angular applications, inspired by Redux
- @ngrx/effects - Side Effect model for @ngrx/store to model event sources as actions.
- @ngrx/store-devtools - Store instrumentation that enables a powerful time-travelling debugger.
- @ngrx/entity - Entity State adapter for managing record collections.
To understand how NgRx works, I recommend you to read the blog post NgRx: Patterns and Techniques by Victor Savkin.
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.