All Questions
1,293
questions
0
votes
1
answer
14
views
Tradingview advanced not showing
Working on integrating tradingview advanced on nextjs 14, but the chart is unable to show I've setup my trading widget by using the default parameters and trying other parameters but still unable to ...
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 ...
0
votes
2
answers
47
views
How can action on clientside dispatch action on serverside?
I have a theme switch toggle on the top AppBar which is a client component.
The main layout is SSR and uses the nextjs App router. It has theme settings <ThemeProvider theme={lightOrDarkTheme}>....
0
votes
0
answers
15
views
Is this is right way to implement Thirdweb authentication with saving user in our backend database if user not present
// UserLoginProvider.js
export const UserLoginProvider = ({ children }) => {
const [walletAddress, setWalletAddress] = useState("");
const [loggedIn, setLoggedIn] = useState(false);
...
-1
votes
0
answers
13
views
How do I integrate RDStation Forms in my NextJS project?
I need to add a form to my page. The first time I navigate to the route with this component, it renders normally, but each time I reload the page, the form disappears. Additionally, when I manually ...
0
votes
0
answers
20
views
using cookies from next/headers marks all pages as dynamic
When I am using cookies from "next/headers" it marks all pages as dynamic, this is not what I want my structure is like this in layout.tsx I have a child server component in which I want to ...
0
votes
1
answer
84
views
Can't install Storybook into my Next.js app
I got TypeError trying to install Storybook in my Next.js app.
I got the Error:
`An error occurred while installing dependencies:
wnt.default is not a function
Error: TypeError: wnt.default is not a ...
0
votes
2
answers
30
views
Force pages to re-render (Next.js App-Dir)
For this question I have created the following demo Next.js application using the App directory:
It has a standard RootLayout in app/layout.tsx.
It has a nested Layout in a route group app/(app)/...
-1
votes
0
answers
22
views
How to enable react client side routing with nextjs static export SPA?
I have built a single-page app using Nextjs and it is exported as a simple static page which means no server-side rendering or Node.js backend, so everything runs on the client side as soon as the ...
0
votes
1
answer
57
views
window is not defined in NEXTJS 14 Build
I am trying to create a build of my nextjs project but it keeps on failing and showing the below error where as it works perfectly during development. I haven't used the 'window.' in my whole project ...
0
votes
1
answer
22
views
Next.js server actions for endpoints which aren't invoked from the client side?
With Next.js 13/14 server actions where introduced, which makes some endpoint declarations in pages/api/ obsolete.
What I'm not sure about: many of my endpoints are there for callbacks, e.g. in the ...
0
votes
3
answers
40
views
How to migrate to the app directory in Next Js
I have been following a tutorial which uses the /pages directory, however, the newer versions of NextJS are using the /app directory. How to adapt the following pages into the new behavior.
/pages/...
0
votes
0
answers
56
views
How to Use TipTap <EditorProvider /> with <EditorContent />?
Background
I'm using React, Next.js, and TipTap as part of a project. I have been using TipTap with useEditor initially, but to allow more flexibility and prevent the need to pass the editor to every ...
0
votes
0
answers
39
views
Next.js: How to Prevent Cached Downloads of Updated Files?
I'm working on a Next.js app where users download a license file. After replacing the file on the server, users still download the old version. I suspect caching issues.
Here's the code generating the ...
-1
votes
1
answer
89
views
Sharing User Data Between Server Components of Different Pages in Next.js 14
I am using Next.js 14 with the app router. In my main layout file, I am fetching user data using a server component and then sharing that data with a client component. I have a context provider that ...