Dynamic params
On Next.js 15 and newer params and searchParams are Promises. You must await them in a page, layout or route handler.
Next.js 15 turned params and searchParams into Promises so you await them before reading a value. Next.js 16 removed synchronous access entirely along with sync cookies() and headers(). Code that read them as plain objects breaks on these versions.