NgRx: Tips & Tricks
summary
Shows NgRx v8 pragmatics: use createAction/props, createReducer/on and createEffect to cut boilerplate; enable runtime checks like strictImmutability and strictStateSerializability to catch mutation and non-serializable actions; always catch errors in effects, use dispatch:false for side effects, avoid switchMap for concurrent deletes; build composable memoized selectors (with props) and normalize state into ID-keyed objects not deep arrays; keep reducers tiny and use container components with dumb presentational components for predictable, testable state updates.
AI-written summary · about
chapters (18)
- 0:00Intro
- 2:42what is redux?
- 4:45what is NgRx?
- 6:33Side effects
- 8:42create Action
- 10:01createReducer
- 11:16createEffect
- 12:55Built-in runtime checks
- 16:53Descriptive types
- 18:33Grouped actions
- 20:33No actions stream
- 21:54Catch errors
- 23:40Beware of switch Map
- 25:54Use selectors
- 28:23Selectors with props
- 29:06Simple reducers
- 30:32Normalize data
- 32:51Containers








