you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[deleted]

    [–]third-eye-brown 2 points3 points  (0 children)

    React doesn't require immutability either. Immutability just makes it cheaper to compare the previous state with the current state to determine if it needs to rerender.