Messaging Design Patterns with NGRX
summary
Shows how to stop hand-writing NgRx boilerplate by using Angular schematics and the NgRx CLI to generate store, feature and container scaffolding and save setup time; demos run and compile. Uses ng generate feature and ng generate entity to produce actions, reducers, effects, specs and selectors; entity adapter produces an ids/entities normalized state and ready-made selectors. Argues that actions are the source of truth (state is a cache), implements routing via actions for time-travel debugging, and uses guards/resolvers that dispatch and wait on store observables.
AI-written summary · about
chapters (10)
- 0:00Start
- 4:24Live Demo
- 8:57Angular Cli
- 11:12What Is Your Secret for Healthy Hair
- 11:32How Do You Deal with a Deep Nested State Object
- 14:14Action Creators
- 18:42What Is the Source of Truth
- 21:26Routing with Actions
- 27:41Data Resolving
- 29:04Data Resolver for the Angular Router
related talks
44mReducing the Boilerplate with NgRx
30mState Management Patterns and Best Practices with NgRx
32mLevel up your NgRx game
35mAdvanced NgRx Techniques
19mNgRx Schematics
27mAngular Architecture: From Patterns to Implementation
26mState Management Patterns and Best Practices with NgRx
01h 04mRedux for Angular -- Introduction to Ngrx Ecosystem
