An open API service indexing awesome lists of open source software.

https://github.com/abdellatiflabr/ngrx-quickstart

The most basic and minimal ngrx implementation
https://github.com/abdellatiflabr/ngrx-quickstart

angular ngrx state typesccript

Last synced: about 2 months ago
JSON representation

The most basic and minimal ngrx implementation

Awesome Lists containing this project

README

          

# Ngrx Quickstart

## Steps to add a new state element
1. Add the element's name to `AppState` interface in `./src/app/store/app.state.ts`.
2. Create a new actions file name `.actions.ts` in `./src/app/store/actions/`.
3. Create a new reducer file named `.reducer.ts` in `./src/app/store/reducers/`.
4. Add the reducer to `reducers` object in `./src/app/store/reducers/index.ts`.