arrow_backBACK TO DRILLS
White Beltimmutability
Array mutation with push
A component stores an array in state and adds items like this:
REACT_MODULE // 0x42
artists.push(newArtist);The UI does not update after clicking "Add". Why?