Redux

Using Redux to Manage State in Angular Pluralsight course page

Redux attempts to make state mutations predictable by imposing certain restrictions on how and when updates can happen. Overkill if application is small. Comes with ts bindings, first class support for Angular.

diagram diagram

Core principles

  1. single source of truth (for state), one big store
  2. state is read-only, immutable
  3. pure functions drive changes