Skip to main content

Questions tagged [nextjs14]

The tag has no usage guidance.

0 votes
0 answers
7 views

get error in installing next@canary npm error peer react@"19.0.0-rc.0" from [email protected]

I have problem with enable ppr in nextjs 14 i got some error in installing next@canary i try to install next@canary npm i next@canary npm error code ERESOLVE npm error ERESOLVE unable to resolve ...
mostafa's user avatar
0 votes
0 answers
13 views

How to create a different URL for each dashboard page - NextJS 14

NextJS newbie here, so I apologize in advance if this has been asked before. I'm feeling really overwhelmed with all the information I'm finding and I'm not sure how to proceed. I have a NextJS ...
user2030942's user avatar
0 votes
0 answers
23 views

Next JS 14 Server Side Rendering and SEO

I've been working with Next.js 14 and have some confusion regarding server-side rendering (SSR) and its impact on SEO. I understand that SSR means the HTML content is generated on the server and sent ...
JULIa's user avatar
  • 1
0 votes
0 answers
5 views

Dynamic Layout and Stylesheet Loading Issue in Nx Monorepo with Next.js

I'm working on a Next.js project inside an Nx monorepo. The project includes different layouts, each in its own package, and I need to load a specific layout and its corresponding global stylesheet ...
NECMI's user avatar
  • 106
0 votes
0 answers
16 views

Nextjs 14 right way call server actions or to update url params

I'm using nextjs 14 with server side actions. My issue is that everytime that I try to set new params it takes a lot to update them. I guess this is because the whole route is refreshed so the server ...
Luis Quiroga's user avatar
-1 votes
0 answers
18 views

What's the difference between component as prop or rendered component as prop (see examples below)

Let's say I have a conponent name Child: const Child =(props) => <div {...props}/> and a parent component Parent, getting this component as prop named ComponentProp. What is the difference ...
yoty66's user avatar
  • 550
1 vote
0 answers
67 views

Google Adsense - Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox

I have a page which is built by NextJS and integrate with Google Adsense & GA4. I saw a lot of warning in console log Third-party cookie will be blocked in future Chrome versions as part of ...
Thành Lý's user avatar
0 votes
0 answers
15 views

NextJS App router reusable custom hook for data fetching

I'm currently trying to migrate a project from NextJS pages router to the app router. In my old project, I had the following structure: /src /components /hooks customHook.tsx /services ...
Mari's user avatar
  • 41
1 vote
0 answers
17 views

Session null on next Middleware with supabase getUser

I got my session in the localStorage, but when I try to access the data in Middleware of Next, auth.getUser() is equal to null, and I dunno how to fix it. enter image description here enter image ...
Diego Beristain de la Mora's user avatar
0 votes
0 answers
13 views

NextJS Infinite redirection loop when using middleware

I'm trying to make some routing logic using NextJS middleware. Based on this code: https://github.com/alexrusin/nextjs-cognito-auth/blob/5-reset-password-end/src/middleware.ts When user is not ...
sQQuil's user avatar
  • 3
0 votes
0 answers
19 views

Why using both app router bundle size is big when used along with page router?

I have a working application that use Nextjs page router. I got a task to create new landing page, and decided to use app router. But when I create hello world page and build it, the bundle size is ...
principiorum's user avatar
0 votes
0 answers
7 views

How to fix the following clappr player error in next js

Browser errorImplementationConsole error Bug is occured when player component is unmounted. This is implemented on media web-site for streaming format media source. There is no any bug when the player ...
Abbosjon Nosirov's user avatar
0 votes
0 answers
12 views

Can't use percentage or window to calculate px value in React Swiper

I use NextJS 14, and here is my code "use client"; import { type ReactNode, useRef } from "react"; import { type Swiper as SwiperType } from "swiper"; import { Swiper } ...
Khuyen Ho's user avatar
0 votes
1 answer
42 views
+200

how to add text annotations to text notes in a react nextjs 14 (app router) app

I am trying to build an app that allows users to comment on legal judgments. i have judgments and notes in my app. notes are made on the text of judgments. At the moment, when a user selects an area ...
Mel's user avatar
  • 2,585
0 votes
0 answers
12 views

cannot enter the url manually after writing a middleware in nextjs14 (app router)

since i've added the middleware which i will provide to you, i cannot enter the urls manually and it errors out. i'm using "next-intl" internationalization and i created a middleware to ...
Nima Moradi's user avatar

15 30 50 per page
1
2 3 4 5
15