Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Immutable Data Structures That Are Compatible with Normal JS Arrays and Objects. Parent comment
- 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.
- 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.