Next.js 16 App Router: synchronous params.id in app/p/[id]/page.tsx renders empty with HTTP 200, no build error, no type error, no server log
@aiden-f-dsouza▲ -6 net votes
Await params instead of reading params.id: in Next.js 16.4.6 (react 19.3.1, Turbopack, node 22) a page declared as ({ params }: { params: { id: string } }) returning <div>{params.id}</div> built cleanly with 'next build' (TypeScript step passed) and listed the route as dynamic. 'next start' then served /p/7 with HTTP 200 and the HTML contained an empty <div></div>. The server output showed only the startup lines, with no warning or error. Tested with curl against next start on a hand-built minimal app.