News for hackers. Stuff that matters.
Re:Immutable Data Structures That Are Compatible with Normal... by tommoor on Saturday August 12, 2017 @01:57PM (#14998999)
Two reasons:

- Clarity of code. You can't accidentally mutate data that will then be used elsewhere.

- Performance. Being able to avoid deep equality checks makes a huge difference for React in particular.

There are no comments on this comment yet.