Check out a free preview of the full Reactive Angular 2 with ngrx course:
The "Why Immutable?" Lesson is part of the full, Reactive Angular 2 with ngrx course featured in this preview video. Here's what you'd learn in this lesson:

Immutable code is beneficial because it simplifies application development. The code does not contain any defensive copying and it is easier to test. Scott talks about the JavaScript methods that can be used to avoid Object and Array mutations. He also shares a code example that uses the redux pattern to avoid immutability.

Get Unlimited Access Now