arrow_backBACK TO DRILLS
Blue BeltimmutabilitylockPREMIUM

Updating one item with map

A component needs to update only one object inside an array stored in state. Which approach best preserves immutability?

lock

This Drill is Locked

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