arrow_backBACK TO DRILLS
Blue BeltimmutabilityPREMIUM
Reverse and sort with immutable updates
A component needs to reverse an array stored in state. Which approach best follows React's immutable update pattern?
A component needs to reverse an array stored in state. Which approach best follows React's immutable update pattern?