From NgRx to NgRx-entity to NgRx-data
summary
A container-image dashboard migrates from per-component BehaviorSubjects to NgRx-data v0.48 to get NgRx power without writing actions reducers and effects; components call a generated facade and use collection methods like queryAll/add/update/delete and get normalized state via NgRx-entity (ids + map). Pagination requires custom data service plus a persistent-result-handler and reducer override to stash page info; optimistic updates and tagged actions for conditional error handling work out of the box, but entity relationships need manual combineLatest work.
AI-written summary · about
chapters (8)
- 0:00Introduction and background
- 4:32Moving to NgRx for state
- 6:40Discovering NgRx-data
- 10:17NgRx-data basics and demo
- 16:25NgRx-data architecture
- 23:30Customizing pagination
- 30:07Handling errors and relationships
- 33:04Final thoughts and Q&A








