Put in order · JavaScript and React course · Module 5: useEffect and Custom Hooks

useRef Syntax

Arrange the useRef declaration elements from left to right:

Items to put in order

  • (null)
  • const
  • =
  • useRef
  • inputRef

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