Question · Vibe coding with Claude Code course · Module 11: Spotify clone

The search delay

Why does the search wait 300 ms before asking the server?

Answer options

  • So the server has time to build the search index
  • So the browser can keep the results in its cache
  • So React has time to draw the tabs before the results
  • To ask the server only once you stop typing, not at every letter

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