ngCourse2 icon indicating copy to clipboard operation
ngCourse2 copied to clipboard

Update - State Management

Open AbdellaToronto opened this issue 3 years ago • 0 comments

State Management

  • [x] Ng2-redux not too popular nowadays

Redux and @ngrx

Adding @ngrx to your Project

  • [x] Update install command

Reading your Application State Using Selectors

  • [x] Can store.select still accept an array?

Actions

  • [x] Looks like the Action interface has changed
  • [x] Remove the payload property in the example
  • [x] In createAction, update function signature
  • [x] Update example to use props property

Modifying your Application State…

  • [x] Is the Redux thunk analogy still correct?
  • [ ] Should the actions be created beforehand?

Reducers and Pure Functions

  • [ ] Check the formatting of the reducer functional signature (spans 2 lines)

Reducers as State Management

  • [ ] Simple Reducer -> should it use the createReducer function?

Configuring your Application

  • [ ] StoreModule.forRoot instead of StoreModule.provideStore

Side Effects

  • [ ] Update @ngrx/effects links
  • [ ] Example should use the createEffect() method
  • [ ] Configuration should use EffectsModule.forRoot([...])

Getting More From Redux and @ngrx

  • [ ] Update Redux Devtools link
  • [x] Update Redux thunk link
  • [x] Update ng2-redux-router to https://github.com/angular-redux/router
  • [ ] Update all ngrx links

AbdellaToronto avatar Apr 08 '21 14:04 AbdellaToronto