arrow_backBACK TO DRILLS
Black BeltimmutabilitylockPREMIUM

Object identity and selection loss

A component highlights a selected letter using letter === highlightedLetter. After updating the letters array with mapped copies, the highlight disappears even though the logical letter is still selected. Why?

lock

This Drill is Locked

This is a premium drill. Continue on to the next free drill in the sequence.

CONTINUE DRILLarrow_forward
BugDojo
BlogFAQ

© 2026. Carved in code.