Put in order · Vibe coding with Claude Code course · Module 12: Medium clone

Reading params in a route

Put in order, in one line, the reading of the article identifier in a Next.js 16 route:

Items to put in order

  • const
  • =
  • await params;
  • { id }

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