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

A fix that hides the symptom

Which of Claude's reports about fixing the jumping likes should worry you?

Answer options

  • The diff of the last commit confirms the index key, I restored key={post.id}
  • I added key={Math.random()} and an eslint-disable comment, the likes no longer jump
  • I changed one line with key, and lint and tsc pass
  • I ruled out the localStorage hypothesis by searching components/

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