Put in order · JavaScript and React course · Module 12: React and TypeScript

Dispatch Type in useReducer

Arrange the correct type for dispatch in the context interface:

Items to put in order

  • dispatch:
  • <AppAction>
  • React.Dispatch
  • ;

You can check the correct answer by solving this task in the CodeWorlds game.