server-side-rendering Questions
7
Solved
I'm encountering a bug in my Next.js 13 application after installing lottie-react. When I compile my project, it completes successfully, but I get a ReferenceError stating that document is not defi...
Shaman asked 6/12, 2023 at 10:41
8
Solved
Recently after updating my angular cli from 16 to 17 I have been facing performance issues and I had no idea what is SSR and prerendering so I left them enabled. But the root cause was ssr.
After ...
Engorge asked 20/11, 2023 at 8:8
3
Is there a way to get the request object (NextRequest) or at least the request URL inside a server component (Page and/or layout components) using NextJS 13 and the new app directory?
I know how to...
Matted asked 22/3, 2023 at 17:32
6
Solved
I have a three.js component that should only be rendered client side, how do I do this with Remix? Does Remix expose any utilities to help determine if we're in a server or client context? Could no...
Fondle asked 11/3, 2023 at 16:45
5
I have a Next.js project where I'm using Prisma to read from Postgresql.
I have code like:
const rows = await prisma.receipts.findMany({
where: {
action_receipts: {
// https://www.prisma.io/docs...
Dordrecht asked 7/2, 2022 at 22:31
5
To import and use svg file in sveltekit I refer to this article
https://riez.medium.com/svelte-kit-importing-svg-as-svelte-component-781903fef4ae
By the way, when I finally input the code
<svelt...
Precaution asked 30/4, 2021 at 16:33
2
We are using this approach to rendering content:
<div id="full-article" v-html="content"></div>
this.content = api.response.data
In this approach, "content&quo...
Conley asked 28/5, 2021 at 5:20
3
I am facing some errors while rendering at SSR for some URL using renderToString from "react-dom/server"
I am getting following error:
TypeError: Cannot read property 'length' of undefine...
Engedus asked 20/10, 2020 at 12:36
2
Solved
RESOLVED --- please read update 2
hello I've this error in react starter kit with react-leaflet map
it's like github module example but i dont know what is problem!!! i think it have a problem wi...
Taeniasis asked 10/7, 2018 at 12:26
8
Solved
Using the cookies-next package,
according to their docs, accessing cookies client side is as simple as getCookie('key'); - client side
I have a simple function in my Next JS app,
const handleAddTo...
Constringe asked 24/1, 2023 at 17:39
3
I'm new to server side rendering & I want to render React components on server side and pass down it in html.
I followed this tutorial on https://spring.io/guides/tutorials/react-and-spring-da...
Bakemeier asked 6/12, 2018 at 13:2
10
I am using DOMPurify.sanitize() inside dangerouslySetInnerHTML={{}} to display innerHtml returned from the database. For initial purpose I'm using getServersideProps() with next-redux-wrapper for t...
Statesmanship asked 9/1, 2021 at 18:16
3
Just want to know around the header that I have specified for my SSR pages: public, s-maxage=3600, stale-while-revalidate=59.
Please note that my stale-while-revalidate value is 59 seconds which is...
Huntingdonshire asked 16/6, 2022 at 8:38
7
I ran into some weird behavior in Next js 13 while trying to do a simple action.
I have prepared the most simple example showing the problem. I hope you can help me figure out why this is happening...
Fremd asked 27/1, 2023 at 17:30
17
(After having edited my original question many times over, I have decided to completely rework it as to make it more clear and succinct. This is in accordance with StackOverflow recommendations.)
T...
Musquash asked 11/12, 2022 at 9:56
2
I'm using Next.js version 13 app route and am having trouble with the revalidate feature not triggering after a router.push call.
In my project, I allow users to create blog posts on the /blog/crea...
Statolatry asked 3/6, 2023 at 8:2
16
Solved
I have a project based on nextjs. Oddly enough, the HMR is not working properly for my project. Every time I make changes I have to re run the process. I have attached details of my next config and...
Abscission asked 4/4, 2020 at 19:22
3
I have developed a website using Angular 6 in the frontend. By default Angular is not SEO friendly, so in order to do that, I implemented it in the way of Angular-Universal or Angular SSR (Server S...
Olgaolguin asked 5/11, 2018 at 11:21
5
I'm trying to make a login page. on my page.tsx file I get either of two errors depending on if I include "use client"; at the top of my code. If I don't have "use client"; I ge...
Kappa asked 31/3, 2023 at 19:53
5
Solved
is there a way how to write a custom directive in nuxt js, which will work for ssr and also for frontend (or even for ssr only)?
I tried it like in following documentation:
https://nuxtjs.org/ap...
Brumley asked 17/7, 2018 at 15:51
7
Solved
I want to develop an application with Nuxt.js that uses SSR for only certain pages (like artist page user page), so the pages without SSR will be used like an SPA. Is it possible to do it using Nux...
Ium asked 1/2, 2019 at 3:49
3
Solved
Problem
My Next.js/React/Node app crashes when I import Chart from "react-apexcharts" in any file. Attempting to visit the app results in the following error: Server ErrorReferenceError: ...
Filariasis asked 1/6, 2021 at 7:43
9
Solved
I am building an app using Next.js and react-dates.
I have two component DateRangePicker component and DayPickerRangeController component.
I want to render DateRangePicker when the window's width i...
Streusel asked 14/8, 2020 at 4:14
2
I'm working on a Angular project that used localstorage. The project is a web application of a travel agency. In this web app, the first time a visitor arrived we display prices with a default curr...
Strained asked 27/7, 2022 at 5:29
3
So, SSR means that the server sends a fully packed html, css and js file while CSR only sends the empty html and again client fetches the js to populate the data on the page.
I want to visualize t...
Buzzer asked 11/6, 2020 at 16:48
1 Next >
© 2022 - 2024 — McMap. All rights reserved.