TypeScript 49 🔷 Immutability and Readonly Deep
Immutability is the practice of never modifying a value after it is created. Instead of changing an object, you create a new one with the change applied. This sounds like a small discipline, but it has large consequences: immutable data is safe to share, safe to compare by reference, safe to use in concurrent contexts,…