Question · Vibe coding with Claude Code course · Module 3: Twitter clone

The second value from useState

What is the second value in the useState array, e.g. setCount?

Answer options

  • The current state value
  • The initial value
  • A function to change the state
  • The component name

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