arrow_backBACK TO DRILLS
Black BeltimmutabilityPREMIUM
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?