Immutable.js collections can never change. Instead, they have methods that implement persistent changes; that is, they return a new collection with the expected change in it. In this chapter, we'll explore how to detect changes in collections. In particular, you'll learn about the following:
- Performing strict collection equality comparisons
- The difference between strict equality and deep equality
- The difference between transformations and mutations
- Caching parameters and side-effects