arrow_backBACK TO DRILLS
Blue Belt - Mediumimmutability
Object Spread With Nested Property Mutation
A component updates state like this:
//REACT_MODULE
setPerson({
...person
});Why can mutating person.artwork.city afterward still affect the copied state?