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

useEffect dependency array

When does a useEffect with the dependency array [count] run?

Answer options

  • After every render
  • Only once at the start
  • After the first render and every time the count value changes
  • Never

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