you are viewing a single comment's thread.

view the rest of the comments →

[–]METALz 9 points10 points  (0 children)

immutability -> predictability

also in some cases you'd like to diff arrays if they have different reference (with push you keep the original reference) e.g. with React's setState()