Build a product detail page. Visiting /products/[id] shows that product's name, price, and description. Complete the detail page.
Complete a product detail page on a Next.js app-router dynamic route. Visiting /products/[id] shows that product's name, price, and description. The data is a static product module (lib/products) with 3 items, used as is, and the display logic lives in app/products/[id]/page.tsx.
A dynamic route in the Next.js app router takes one segment of the URL ([id]) and renders a page from it. This problem is about a /products/[id] detail page that reads the [id] from the URL and renders that product's name, price, and description. The habit that matters is verifying the page actually renders correctly for the catalog products.