arrow_backBACK TO DRILLS
Black Beltimmutability
Shared object reference mutation
“Two different objects both reference the same nested object: const artwork = { city: 'Hamburg' }; const objA = { artwork }; const objB = { artwork }; If React state later mutates objB.artwork.city, what happens?”