NgRx Signal Store Trilogy, Part 1: Why, When, and How?

NgRx Signal Store Trilogy, Part 1: Why, When, and How?

19.036 Lượt nghe
NgRx Signal Store Trilogy, Part 1: Why, When, and How?
NgRx, the reigning champion of state management in Angular, has taken a significant leap forward by introducing the NgRx Signal Store. Joining the ranks of the Global and Component Stores, the Signal Store represents the third evolution of NgRx's state management prowess. This video starts with Signals and explores why they necessitate a more sophisticated state management approach. We then shift gears to live coding, demonstrating the practical application of the Signal Store by migrating from the NgRx Global Store. The true power of the Signal Store lies in its extensibility, which I'll unveil in the final segment. Witness the ease with which reusable features can be crafted, transforming your Angular development experience. Here is part 2 of the trilogy: https://www.youtube.com/watch?v=TLq0OcSshYI The GitHub repository is available at https://github.com/rainerhahnekamp/ngrx-signal-store-demo. 0:00 1. Introduction 0:34 2. Signals - Enforced State Management? 3:28 3. Signal Store at a Glance 6:16 4. Using the Signal Store 6:24 4a. Application Walkthrough 9:15 4b. signalStore 19:43 4c. rxMethod 27:42 5. Architectural Aspects 34:15 6. Why a functional approach? 36:18 7. Extensibility 36:20 7a. Basic Extensibility 43:52 7b. Chained Extensions 46:47 7c. Nested Extensions 49:59 8. NgRx Workshops 50:13 9. Summary & Farewell