blog.logrocket.com
Immutability in React: There’s nothing wrong with mutating objects.
1
Esteban explains that “immutability” really comes down to trade-offs. The method you use to enforce immutability makes all the difference. Read full article