How to use cookie authentication using “use server”
I’m working with Next.js and using JWT tokens for authentication. After logging in, I set the token in cookies. It works perfectly on localhost, but after deployment on the server, it’s not functioning as expected. It works fine on the domain when using “use client,” but not with “use server.”
Next.js redirect without startTransition does not work
I’m relatively new to both SSR & the useTransition
react hook.
Multiple Suspense in the same page doesn’t behave correctly in Next.js
I observed a weird behavior in using suspense and key (or I misunderstood the loading behind the scene)
Unable to structure properly SSR event and language switcher
I have a basic question about SSR in general. I come from experience only in CSR and I find it quite struggling to do thing in SSR at the moment.
Understanding Next.js 14 Partial Pre-Rendering (PPR)
I’m trying to understand how Next.js implements its new partial pre-rendering (PPR) technology, specifically how it pre-renders just the shell of a React component tree.
Nextjs how to fetch data, while you font want the user have access to the fetched json data
Using Next.js, I want to implement the best practice for fetching polygons and displaying them on a map, while ensuring that the user is unable to see the data in the network tab.
How to keep catalog page with filters server component Next.js
I have a problem.
Embedding controlled client-side React into static PHP page with hydration
TL;DR: I need a way to export static page with client-side React components, without loosing ability to make changes, to be embedded into PHP
How can I render out a text from server actions nextjs?
New to Next.js