Skip to main content
100%

A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series

✓ Published0🌍 Public
Aackuser
Last edited Feb 8, 2019
Created on Jan 9, 2020

This example demonstrates the core concepts of @ngrx/store, a state management library for Angular built on RxJS. It explains the roles of reducers, actions, and the single application store, showing how immutable state flows through a centralized dispatcher and BehaviorSubject. The code highlights APIs such as `scan` for aggregating state, `map` for slicing state, `distinctUntilChanged` for managing updates, and `combineLatest` with `withLatestFrom` for projecting state into views. The accompanying walkthrough applies these patterns to a sample application, including middleware, meta-reducers, and state rehydration on bootstrap.

AI-generated description

Similar vizzes