Click in order · JavaScript and React course · Module 4: Context API and useReducer

useContext Syntax

Build a correct useContext hook call:

Items to click

  • useContext(
  • const
  • MyContext)
  • value
  • =

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