arrow_backBACK TO DRILLS
Black Beltimmutability
Copying arrays does not copy nested objects
“A component creates a copied array like this: const nextList = [...list]; Then it runs: nextList[0].seen = true; Why is this still considered a state mutation?”