Put in order · JavaScript and React course · Module 4: Context API and useReducer
Dispatch Call with Action
Arrange a correct dispatch call with an action object:
Items to put in order
- type: 'UPDATE',
- })
- payload: data
- {
- dispatch(
You can check the correct answer by solving this task in the CodeWorlds game.