HIDE PLAYLIST

Refactoring mutations to enforce immutable data in Angular 2


When a Todo property updates, you still must create a new Array of Todos and assign a new reference. This lesson walks you through refactoring from the current approach to the immutable approach.