This project illustrates how to leverage @ngrx add-ons:
- @ngrx/store-devtools: module to be able to leverage the Redux Devtools Extension
- reselect: a simple selector library for Redux (actually implemented for react - reusability! yay!)
- @ngrx/effects: library to handle side effects when actions are dispatched
- @ngrx/db: RxJS powered IndexedDB for Angular 2 apps
- Slides
- Video (Soon!)
The goal of the app is to demonstrate the different steps sorting algorithms go through to complete.
You first enter the number you would like to sort, then you select the sorting algorithm and hit 'Sort!' 🎉.
To go further into the @ngrx add ons usage, please refer to the presentation section.
$ git clone [email protected]:xlozinguez/angular-nyc-advanced-ngrx.git
$ cd angular-nyc-advanced-ngrx.git
$ npm install
$ npm start
Then go to localhost:3000
This app is split between two different store: