arrow_backBACK TO DRILLS
White Belt - EasyusereducerlockPREMIUM

useReducer Action Object Shape

Why are reducer actions commonly written as objects like this?

//REACT_MODULE
dispatch({ type: 'deleted', id: 3 });
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.