Question · Vibe coding with Claude Code course · Module 11: Spotify clone
Tabs you cannot lose
Why does RENDER in SearchPage have the type Record<Section, ...>?
Answer options
- Because the compiler reports an error when a function is missing for any section, so no tab is left without a view
- So the sections draw faster
- So the tabs are remembered in the page address
- Because Record sorts the sections alphabetically
You can check the correct answer by solving this task in the CodeWorlds game.