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
- Host: GitHub
- URL: https://github.com/abdellatiflabr/ngrx-quickstart
- Owner: abdellatifLabr
- Created: 2020-07-12T19:59:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T13:02:46.000Z (over 3 years ago)
- Last Synced: 2025-06-06T16:46:43.718Z (about 1 year ago)
- Topics: angular, ngrx, state, typesccript
- Language: TypeScript
- Homepage:
- Size: 2.74 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
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`.