arrow_backBACK TO DRILLS
Black Belt - HardusereducerlockPREMIUM

Reducer Function Incrementing a Counter

Why is this reducer incorrect?

//REACT_MODULE
function reducer(state, action) { state.count++; return state; }
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.