Skip to main content

All Questions

-2 votes
0 answers
69 views

How to render <App/> on nodejs server side? [closed]

Given this server.ts code: import 'ignore-styles'; import register from '@babel/register'; import express from "express"; import fs from "fs"; import path from "path"; ...
DIIMIIM's user avatar
  • 595
0 votes
0 answers
39 views

Search engine result pages not displaying correct titles and descriptions [closed]

We currently have a React application connected to a Craft CMS. We’ve been trying to solve some SEO issues we’ve been running into where our results in search engine result pages have incorrect ...
Ray33's user avatar
  • 1
0 votes
1 answer
52 views

Page Rendering Multiple Times in Next.js (v14.0.1)

I'm developing a new feature in a Next.js project and have encountered an unexpected behavior. The page hosting the component in question is rendering multiple times, even though the props remain ...
Riad BENRABEH's user avatar
1 vote
1 answer
273 views

React 19 prerenderToNodeStream vs renderToPipeableStream with onAllReady

React 19 added new static server APIs, prerenderToNodeStream Is there any functional difference in using prerenderToNodeStream instead of renderToPipeableStream with onAllReady? I understand that the ...
AHCE's user avatar
  • 11
1 vote
0 answers
96 views

SSR Hydration failed because the initial UI does not match what was rendered on the server

Hydration failed because the initial UI does not match what was rendered on the server. main.tsx file - Trying to implement SSR but getting issue for UI mismatch. import ReactDOM, { hydrateRoot } from ...
Shubham soni's user avatar
1 vote
0 answers
662 views

Hydration Errors in React SSR with Vite and React-Router-Dom

I'm working on setting up Server-Side Rendering (SSR) for a React application using Vite. I am also using react-router-dom for routing. While the server and client rendering works fine individually, I'...
TedRed's user avatar
  • 157
0 votes
0 answers
29 views

Hosting client react app with npm start equivalent to server side rendering?

I'm figuring out how to host a React, Node and Express app. If I take the react client that I've got and run npm start on AWS Lightsail, is that considered server side rendering, and would it be a ...
JobHunter69's user avatar
  • 2,308
0 votes
1 answer
365 views

Error during build message while trying to deploy in render

When I run npm run build in my local laptop then the there is no error and dist folder is created inside the frontend folder. But here it is showing the following error even though all my routes, file ...
user avatar
0 votes
0 answers
411 views

How can I perform server-side API requests in my client-side rendered React app?

I have a React app where I need to perform API calls that involve sensitive credentials in the request body. I'm concerned about rendering the whole app server-side, Is there a way to ensure that the ...
Adel Stiti's user avatar
0 votes
0 answers
192 views

Usage of ant design on server side

I'm trying to render my project on server side and facing some issues with ant design. I am using vite + react + typescript for my SSR app. The error message i get is C:\Users\user\Desktop\SSR\ssr\...
CraZyDroiD's user avatar
  • 7,137
1 vote
0 answers
456 views

How to call server-side APIs with Vite in one project?

In my app with React and Vite I would like to make server-side calls for security reasons and not have them show up in the browser. Ideally, you should not create a separate server, but make the calls ...
MF_Dev's user avatar
  • 43
0 votes
1 answer
353 views

vite-typescript-ssr-react - No routes matched location

I am new to NodeJS and am using this template vite-typescript-ssr-react, when I add routes to the app.tsx file like i would in a react application. import React from "react"; import { Routes,...
Louis Eiden's user avatar
0 votes
1 answer
45 views

I want to know how to do ssr with react

I worked using Node's express to do SSR with React. But the following error occurred. ^ SyntaxError: Unexpected token '<' This error appears. I asked chatGpt and they said it was because I ...
jinhwansong's user avatar
0 votes
0 answers
464 views

Unhandled runtime error on my server side rendered next.js website when trying to make the header client side rendered

I created a server side rendered react website with next.js. I wanted to add a simple event listener to header for it to appear-disappear on scroll. In order to do it i have to import useState and ...
Frynosaurus's user avatar
2 votes
0 answers
320 views

Reactjs Server side rendering with Redux store is not working

I have followed the tutorial https://github.com/morinokami/react-ssr for implementing serverside rendering(SSR) for my react js website. My website is using redux-store for storing global states. But ...
Ajith's user avatar
  • 2,666

15 30 50 per page
1
2 3 4 5
16