arrow_backBACK TO DRILLS
White Beltimmutability

Losing state fields during object update

“A component stores this state: { firstName: 'Ranjani', lastName: 'Shettar', score: 10 } Then it runs: setPlayer({ lastName: 'Smith' }); What happens after the re-render?”

BugDojo
BlogFAQ

© 2026. Carved in code.