Question from the Next.js test

Write a Next.js page that renders a product's details.

Medium

You need to create a dynamic route for product pages. Each product has a unique identifier. How do you structure the folder and file for this dynamic route ?

- app/
  - products/
    - ???
- public/
Author: AnasStatus: PublishedQuestion passed 405 times
Edit
-1
Community Evaluations
developer avatar
Ambiguous
Corentin Kittel
23/10/2024
Selon le sens de la question, la bonne rĂ©ponse devrait plutĂŽt ĂȘtre products/[productID]/page.js