InterviewBuddy
All interview questions

How do dynamic route segments work?

Intermediate

Answer

A folder such as [id] captures part of the URL and passes it through params. In modern Next.js, params are asynchronous in server components.