Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
2 replies
89 views

I’m building an e-commerce type website in Next.js where there are multiple sections of stores. Each store card has a heart icon to mark it as a favourite. The same store can appear in: multiple ...
Ali Sadain Tanvir's user avatar
0 votes
1 answer
64 views

I know it's an unconventional pairing, but I am using Next.js and the Laravel stack for my app. namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\...
Felicity's user avatar
  • 177
2 votes
1 answer
76 views

I have a Next.js application with Better Auth setup. I can sign up and log in fine using email and password. I implemented OAuth sign in with Google, but that only worked once or twice. If I somehow ...
donpro2009's user avatar
0 votes
1 answer
55 views

I'm currently working on my first NextJS app after a long hiatus. The first thing I'm working on is a small app that's powered by Firebase. After reading some documentation on Context and then ...
MisutoWolf's user avatar
  • 1,273
0 votes
2 answers
55 views

I'm trying to implement dark mode in my Next.js app using TailwindCSS. However, TailwindCSS's dark: classes are not being applied, even when the .dark class is present on the <html> tag. global....
Abhinav Shinde's user avatar
-1 votes
0 answers
50 views

I have set up my tRPC backend as per the docs which I'll paste in below. My issue is using it with @tanstack/react-query works perfect for 90% of my use cases but I can't physically call my backend ...
frost2709's user avatar
  • 401
1 vote
0 answers
42 views

I'm using the entry file at the root of my app as a data layer, for redirects depending on session, which I'm retrieving using getServerSession. If at a point no session exists, user should be ...
Peter Muguro's user avatar
-1 votes
1 answer
29 views

I’m working on a telco project that will be deployed across eight different regions. Each region will have: Different color branding Possibly some UI component variations However, all API ...
khubaib's user avatar
Advice
1 vote
1 replies
50 views

In my case, I only want authenticated users to perform a SELECT query on my database, so I set up my RLS Policy for this scenario. This is where I am hitting an issue. With RLS enabled, I need to let ...
Boon Jefferson Brigoli's user avatar
-5 votes
0 answers
39 views

in package.json in next js: "devDependencies": { "@tailwindcss/postcss": "^4", "@types/node": "^20", "@types/react": "^19&...
DPM's user avatar
  • 1
-1 votes
0 answers
30 views

After upgrading to next js 16, i'm getting the following error when i run pnpm build. But it is working find when using webpack. The error: > pnpm build ▲ Next.js 16.0.3 (Turbopack) - ...
Govind P Venu's user avatar
-6 votes
0 answers
30 views

My s3 url is getobject url - .pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=&X-Amz-Date=&X-Amz-Expires=&X-Amz-Signature=&X-Amz-...
Filmgoer bot's user avatar
0 votes
0 answers
26 views

I am working on a project using Next.js (App Router) and AWS Amplify Auth. I have implemented middleware to restrict access and redirect users based on a custom Cognito attribute (custom:...
Leo.roxy's user avatar
-4 votes
0 answers
30 views

Pergunta Estou recebendo o seguinte erro ao iniciar meu projeto Next.js: Hydration failed because the initial UI does not match what was rendered on the server. Unexpected attribute: cz-shortcut-...
Gabriel Ribeiro's user avatar
0 votes
1 answer
23 views

I am trying to deploy a Next.js app on my local machine as a "dress rehearsal" for deploying on a server. My Next.js app renders properly (i.e. the human eye will see shapes and colors in ...
masterBuilderBenny's user avatar
0 votes
0 answers
21 views

Correctly Deploying Next.js App to EC2 Using CodeBuild + CodeDeploy (Missing next at Runtime) What I think is happening CodeBuild successfully runs npm install and npm run build. The generated ...
Abhay Rathore's user avatar
-1 votes
0 answers
38 views

I need to work with a local package with my next.JS project. To avoid publishing on npm every time : - On the next.js project: npm i ../test-sample-api. I can now see on my package.json the line : &...
Sha's user avatar
  • 49
-1 votes
0 answers
37 views

I have created a Next.js (TypeScript) application, called "vkdgen". Afterwards, I've created and published a small component library for my project called "vkdFramework4NextJS". ...
Janosch's user avatar
  • 92
0 votes
1 answer
30 views

I'm encountering an error when trying to run pnpm run dev in my ReactPress project (version 1.6.0). The build process fails during the build:config step with a TypeScript error stating that files in ...
react's user avatar
  • 9
0 votes
0 answers
19 views

I'm using "@mui/x-date-pickers": "^8.19.0" and @mui/material": "^7.3.4" in a "next": "15.5.6" application with "react-dom": "19.2....
S. Hesam's user avatar
  • 7,161
0 votes
1 answer
25 views

We are self-hosting the NextJS app with an Nginx proxy. The streaming functionality allows for the suspense states to show up while the page is loading. I am aware this is available by default if the ...
Azam M's user avatar
  • 110