Angular, Immutability and Encapsulation

added by JavaScript Kicks
11/25/2015 5:46:13 PM

687 Views

Using mutable objects for modeling application state makes tracking changes hard and incurs a sizable performance cost. Switching to immutable objects solves these problems, but brings new ones. This is because immutability and encapsulation are often at odds. Can we combine the benefits of immutability and local state?


0 comments