Skip to content
RED SAGSkills
medium10 pts · first answer countsnextjsapp-router

Reading params in Next.js 15+

Which page code reads the id correctly in Next.js 15 and later?

export default async function Page({ params }: { params: Promise<{ id: string }> }) {
  // read id here
}
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions