angular-ngrx-refactoring icon indicating copy to clipboard operation
angular-ngrx-refactoring copied to clipboard

1. Manage state with @ngrx/store

Open BioPhoton opened this issue 8 years ago • 0 comments

Below you have a check list to follow.
A detailed step by step description on how to solve the exercise is in the wiki.

  • [ ] 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

BioPhoton avatar Sep 17 '17 13:09 BioPhoton