Skip to main content
0 votes
1 answer
109 views

I migrated my React component with nested children to NextJS. To know what kind of child it is and where to render it, I check its property type.displayName In NextJS, having no experience with server ...
dwpprof's user avatar
  • 23
0 votes
0 answers
50 views

I'm facing an issue with Next.js 15 where metadata defined in layout.tsx (using the Metadata API) is not included in the server-rendered HTML, causing social media crawlers (e.g., Twitter, Facebook) ...
Aayushmaan Soni's user avatar
0 votes
0 answers
89 views

I am using Laravel sanctum SPA authentication and everytime I use axios with config of withCredentials:true and withXSRFToken:true and call protected routes from the laravel api, it works perfectly ...
Jems's user avatar
  • 1
0 votes
1 answer
116 views

In a Next.js App Router project (app/ directory), I’m trying to build a unified fetcher that can work both server-side and client-side, including correct handling of cookies, CSRF tokens, and headers. ...
Marko Ticinovic's user avatar
0 votes
2 answers
79 views

I have a parent componet where I want to pass a specific button to a child component. this button needs an index from the child component to call the server function. But I get the following error: ...
Erik Metz's user avatar
  • 237
0 votes
0 answers
13 views

Here's the relevant code for the long-loading page & related information: page.tsx(app router) : import CodeSnippet from "@/components/CodeSnippet"; import { Suspense } from "react&...
Hsun's user avatar
  • 15
0 votes
0 answers
90 views

How do I enable streaming / ui loading for a nextjs application on cloudfront? I have a simple next15 server-side page with a server component that should fetch data on every url query change, meaning ...
Dragos123's user avatar
1 vote
1 answer
70 views

The example in https://react.dev/reference/rsc/server-components#async-components-with-server-components shows the following snippet: // Server Component import db from './database'; async function ...
David Klempfner's user avatar
1 vote
0 answers
26 views

I have Index component that has 3 components, Questions, Answers and Pagination: "use client"; import { useLocale } from "next-intl"; import { useEffect, useState } from "...
aasem shoshari's user avatar
0 votes
0 answers
139 views

I wanted to use Supabase for both auth and general database interaction in my Next.js 15 app, however when I navigate to some of my dynamic routes, and even some that aren't dynamic but still use ...
Jayden Priestley's user avatar
1 vote
0 answers
113 views

I am struggling to improve my NextJS website performance since the Largest Contentful Paint element is loading too late. I understand why it is loading late, but I am not able to find a solution to ...
Francesco De Conto's user avatar
0 votes
1 answer
776 views

I have created a table in supabase called blogposts, and have added couple of rows. Here is what the columns look like: id title description date views readingTime imageUrl author I have created ...
Gleb's user avatar
  • 550
-3 votes
1 answer
1k views

I have the same problem. Next.JS I'm trying to get get parameters via an async request. but the console always displays this error Already exhausted everything AI Chat no one can give Maybe you have ...
Igor Ostapenko's user avatar
1 vote
0 answers
47 views

I am working on a Next.js application. I have two pages: Hollywood Page: This page is server-rendered and adding all the meta information to the page. export const metadata = { // exporting meta ...
Muhammad Hossain's user avatar
0 votes
0 answers
92 views

I'm using NextJS and i have a component that contains swiper, the swiper need interactions (JavaScript) to work such as button clicks..etc, is there any chance to make this component as server ...
Morgana Freeman's user avatar

15 30 50 per page
1
2 3 4 5
17