Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
104 views

After following the guide on: https://nextjs.org/docs/app/guides/internationalization The translation logic itself seems to work, but the redirection from the root will never happen. When visiting ...
0 votes
0 answers
40 views

I’m building a backend-only Next.js API project (npx create-next-app@latest --api) that serves a frontend hosted on another platform (React Native, web app, etc.). I need to handle file uploads (...
Best practices
0 votes
0 replies
46 views

I am trying to develop an app using Next JS v16.0.3 App router TypeScript . Except facebook debugger id that called fb:app_id, all other meta tags are working good. At inspect element it shows as ...
0 votes
0 answers
46 views

I have a request which its get wallet details in server action. First request is working properly. But after user changes, I can see log top of it but its not entering server action. For example: ...
1 vote
2 answers
513 views

I've been pulling my hair out over this for hours. My metadata is rendering inside the <body> tag instead of the <head> on the server-side HTML, which is completely breaking SEO. The weird ...
0 votes
1 answer
42 views

I'm encountering a TypeScript build error in Next.js 15 with dynamic routes. The error occurs during next build and seems related to the new Async Request API. .next/types/app/(app)/seo-audit-tool/[...
1 vote
0 answers
70 views

I'm trying to implement a server-side authentication check in a Next.js App Router Layout.tsx and redirect unauthenticated users. Here is the code for my Layout component: import { getIronSession } ...
-1 votes
2 answers
77 views

now i have a next.js v15 app and i'm doing some mutation on the server using server action and here is the code for it export async function updateGuestAction(formData) { const session = await auth()...
0 votes
0 answers
141 views

I need to add the Google Reader Revenue Manager scripts to my article pages in next.js (using the app router). Google's docs are super clear that the scripts have to be in the <head> of the raw ...
0 votes
2 answers
349 views

Writing a dynamic api route for page that accepts [slug] params. export async function GET(request: NextRequest, { params }: { params: Promise<{ slug: string}> }) { const {slug} = await ...
0 votes
0 answers
36 views

I'm building a Next.js app and I have a helper function called getUserFromToken(token) which extracts and verifies user info from a JWT. I'd like to use this helper in all my API routes without ...
0 votes
0 answers
96 views

I'm building an ecommerce app with Next.js App Router and have these routes: /users/[id] for user profiles A root-level catch-all route [...slug] to handle multi-level dynamic paths like: /...
0 votes
0 answers
56 views

Here's all of my code. It's riddled with comments but aside from that i don't understand how it keeps looping infinitely next.config.ts: import type { NextConfig } from "next"; import { ...
3 votes
1 answer
423 views

I’m working on a project using Next.js 13+ with App Router, and I’m trying to pass a onCompose handler to a Sidebar component like this: <Sidebar onCompose={handleCompose} /> But I keep getting ...
1 vote
0 answers
197 views

I'm working on a Next.js application (currently using version 15.3.2) and I'm looking to ensure the charset meta tag is correctly set in the HTML head. Typically, in a standard HTML file, I would just ...

15 30 50 per page
1
2 3 4 5
...
28

AltStyle によって変換されたページ (->オリジナル) /