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

5. Using ngrx in feature modules

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.

  • [ ] Create a new folder state-management under pages/flight
  • [ ] remove flightReducer form app.module.ts
  • [ ] Move ngrx/flight.actions.ts and ngrx/flight.reducer.ts to the newly created folder state-management
  • [ ] Register flightReducer in pages/flight/state-management by using the StoreModule.forFeature method
    • [ ] Adopt imports
  • [ ] Register flightEffects in pages/flight/state-management by using the EffectsModule.forFeature method
    • [ ] Adopt imports
  • [ ] Refactor the ngrx folder. Create .module for global state management file and move IDB interface into separate file.

BioPhoton avatar Oct 15 '17 22:10 BioPhoton