Questions tagged [server-side-rendering]
Server-Side Rendering (SSR) is a technique for rendering a client-side app on the server.
server-side-rendering
4,939
questions
0
votes
0
answers
9
views
RTCPeerConnection is not defined
I have an Angular application with server side rendering. I have created a WebRTC service that works fine in unit tests. However, when I run the application I get the following error:
...
0
votes
0
answers
15
views
MongoDB SDK and NextJS Serverside rendering
all.
I am using NextJS 14 and the app router.
I have an image gallery.
The Gallery page is server-rendered.
const Gallery = async () => {
const { images } = await getImages();
return (
...
0
votes
0
answers
14
views
Nextjs 14 right way call server actions or to update url params
I'm using nextjs 14 with server side actions.
My issue is that everytime that I try to set new params it takes a lot to update them.
I guess this is because the whole route is refreshed so the server ...
-2
votes
0
answers
16
views
CSR vs SSR with hydration
In what scenario would we want to do Client Side Rendering instead of Server Side Rendering with hydration? Wouldn't SSR always be a bit faster in terms of user perception and be preferred choice if ...
0
votes
0
answers
8
views
Vite/Rollup: Globals ignored, "No name was provided for external module"
For some reason, Rollup refuses to recognize my global external dependencies.
From my vite.config.ts:
export default defineConfig({
build: {
rollupOptions: {
external: ['radash', '@...
1
vote
1
answer
19
views
Angular 18 SSR Vercel issue with 404
I can't make my 404 page using Angular SSR deployed on Vercel Serveless Function
When accessing a bad url supposed to be 404 have this error This Serverless Function has crashed. its a 500 internal ...
0
votes
0
answers
25
views
Securely Fetching and Caching Polygons in Next.js for Map Rendering
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.
I have tried using ...
0
votes
0
answers
13
views
Why Do I See Pre-Rendered HTML in Source Code When Using 'use client' in Next.js?
js Community,
I'm working on a Next.js application and have some confusion regarding pre-rendering and client-side rendering. I've been using the 'use client' directive at the top of my components to ...
0
votes
0
answers
8
views
Flickering videos when animating with SSR and react-spring
I'm trying to animate a <video> element in a reactjs/nextjs/ssr/react-spring project. Images and other elements works fine, also works when not using ssr. How can I get it to look good and not ...
0
votes
0
answers
21
views
Angular SSR generates browser and server folders on build. Can I use the site as static or with server-side rendering after configuration?
After setting up and running with SSR, Angular initially renders on the server.I'm on angular version 18.1.0
After the initial load, Angular takes over and the application operates as a Single Page ...
0
votes
0
answers
37
views
render CSS on server side (Nextjs)
i have project writed on nextjs + tailwindcss.
my main goal is to convert styles into row styles to get already formated html css content from server side so that will increase website speed ...
0
votes
0
answers
17
views
How to create an SEO friendly page without any javascript rendering issue? [closed]
Is there any chance that for any technical reason with JavaScript Rendering can block any urls other than the home page fetching for any third-party audit tools? Something like, sitemapxml.org, schema....
0
votes
0
answers
6
views
Next.js App router behavior in building a page when generateStaticParams is provided and layout is dynamic
this is my folder structure
I am using next.js 14
in root layout i use user data to display user avatar which cause all pages become dynamic
in page.js inside /cabins/[cabinId] i have exported ...
0
votes
0
answers
18
views
I'm encountering an issue with my Next.js application where a POST request to an API route results in a 404 error. Here are the details of my setup:
I'm encountering an issue with my Next.js application where a POST request to an API route results in a 404 error. Here are the details of my setup:
/src
/app
/api
/addroute
route....
0
votes
0
answers
25
views
Next.js revalidateTag not working as expected with route handler
I'm working on a Next JS application where I need to revalidate tags after a user submits a quest. The revalidateTag seems to not trigger the route handler correctly. Here's the setup:
Also, for all ...