BioPhoton / BioPhoton/angular-ngrx-refactoring
1. Manage state with @ngrx/store
- Dominant language
- TypeScript
- Stars
- 22
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Below you have a check list to follow.
A detailed [step by step description](https://github.com/BioPhoton/angular-ngrx-refactoring/wiki/Manage-state-with-@ngrx-store) on how to solve the exercise is in the [wiki](https://github.com/BioPhoton/angular-ngrx-refactoring/wiki/Angular-@NGRX-Refactoring---Overview).
- [ ] Preconditions
Install `@ngrx/store` module over npm `npm install --save @ngrx/store`
- [ ] Implement the store
- [ ] Setup StoreModule and IDB interface in app module
- [ ] Setup actions to change the stores state
- [ ] Setup reducer
- [ ] Register the reducer
- [ ] Subscribe to changes and dispatch actions
- [ ] BONUS Refactor to selector functions
- [ ] Create selector function in flight.reducer.ts
- [ ] Use selector function in flight.service.ts
- [ ] BONUS Implement state for flightPending State
- [ ] Extend actions
- [ ] Extend reducer
- [ ] subscribe to changes and dispatch actions
Contributor guide
Assessment
This issue has not been assessed yet.