Skip to main content

All Questions

-1 votes
0 answers
25 views

My Mesh visualiser code takes so long to load the mesh files to the borwser , is SSR a solution? [closed]

I’m working on a 3D mesh viewer using .obj and .mtl files, but I’m running into performance issues — the browser takes a long time to load and render the mesh files, and it’s using a lot of my local ...
raouf khabat's user avatar
-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
1 vote
2 answers
87 views

How to check when window becomes available?

I am new to SvelteKit and I am not familiar with SSR. I have recently learned that window is only defined after the client-side has been loaded, which can be determined with the onMount hook. But here'...
Donald Zhu's user avatar
0 votes
0 answers
46 views

After adding ssr ( angular Universal ) to angular 19 ngmodule approch. Angular Universal SSR works fine, but CSR not working

After the initial render with Server-Side Rendering (SSR), my Client-Side Rendering (CSR) is not functioning properly. I am using the NgModule approach, and my project was previously running on ...
Web Development's user avatar
0 votes
1 answer
71 views

Is the cost associated with a CSR React UI app the same as the hydration cost of the equivalent SSR? [closed]

I've been mainly dealing with CSR React UI applications, and the way i understand it is that the reason SSR is more ideal for initial load (not interactivity) is because the JS gets executed on the ...
Gambit2007's user avatar
  • 4,010
0 votes
1 answer
121 views

Does shadcn SidebarProvider render all its children on the client on Next.js?

Out of curiosity, shadcn's sidebar has 'use client' declaration on the top of its component file which includes the declaration of SidebarProvider. From my understanding of nextjs, when a client ...
Tenshi Munasinghe's user avatar
0 votes
1 answer
36 views

Nuxt - How to load data in SSR in a pinia store?

I'm trying to create a pinia store that load data in SSR. How to load data in SSR in a pinia store ? Is that possible ? I'd like to be able to do something like this in every component where i'll need ...
Gemkodor's user avatar
1 vote
1 answer
45 views

Guard flickers page then loads actual page

export const authorizedUserGuard: CanActivateFn = (route, state) => { console.log('guard call', route, state) const tokenService = inject(TokenStorageService); const router = inject(...
Shriyank's user avatar
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 votes
1 answer
79 views

nextjs: Link element leads to hydration errors [closed]

I'm investigating many hydration errors on my page that seem to come from my migration last year from an old next version into the most current 15.x. See Screenshots at the bottom: Unhandled Runtime ...
TheDomis4's user avatar
  • 162
7 votes
0 answers
111 views

Next.js 14: ReferenceError: window is not defined when using intl-tel-input-react

I'm trying to implement a phone input component in my Next.js 14 application using the intl-tel-input library. However, I'm getting a ReferenceError: window is not defined error during server-side ...
Om Telavane's user avatar
0 votes
1 answer
42 views

How to avoid form resubmission on page refresh after failed request?

I have a nodejs server with server side rendering of relatively simple html pages with handlebars. Let's say there are two endpoints: GET /task/new -> open the page with a form for creating a new ...
Farad's user avatar
  • 1,065
0 votes
1 answer
31 views

How to prevent downloading the desktop component code in Next.js when using dynamic imports based on user-agent?

I'm trying to create a layout in Next.js where the component rendered depends on the device (mobile or desktop). I want to prevent the desktop layout's source code from being downloaded to the browser ...
Blatzo's user avatar
  • 166
0 votes
1 answer
470 views

How to create a 'dynamic` data-attribute, a HTML element with a unique id, in Astro and pass the variables from server to client

In my Astro app I need to pass a variable from the server (frontmatter) to the client. Like the documentation describe there are two options. use data-attribute use defineVars As far as I can see ...
meez's user avatar
  • 4,828
1 vote
1 answer
41 views

Integratin CalHeatMap into Anguar app with SSR

I try to integrate CalHeatMap https://cal-heatmap.com/docs/getting-started/quickstart into my app: import { Component } from '@angular/core'; import { NgIconComponent, provideIcons } from '@ng-icons/...
user28273827332's user avatar

15 30 50 per page
1
2 3 4 5
72