Overview for 'typescript'

Immutable objects in TypeScript

Written by / Original link on Feb. 12, 2020

Immutability is the concept of not directly mutating objects and instead always work with new objects which reflect the updated object. It makes code easier to debug, performs better, is more predictable and is a requirement for many modern state management solutions.I was a bit confused about how…