© Oren Farhi 2017

Oren Farhi, Reactive Programming with Angular and ngrx, 10.1007/978-1-4842-2620-9_3

3. Adding State Management with ngrx/store

Oren Farhi

(1)Lod, Israel

One of the most important aspects of software development is state management. With each development project, there’s some sort of tracking being done of data over time as well as of any updates made to that data.

When approaching the user interface in front-end development, it’s important to have a single source of truth when it comes to data. The UI should display the exact state of data. In JavaScript, it is very easy to lose a reference to a data structure, thus creating ghost references that can cause a false presentation of the wrong data.

With Angular version 1, one of the ...

Get Reactive Programming with Angular and ngrx: Learn to Harness the Power of Reactive Programming with RxJS and ngrx Extensions now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.