Questions tagged [client-side-rendering]
26 questions
12
votes
2 answers
CSR vs SSR vs Pre-render, which one should I choose?
Currently, my project has two parts, one is before login, and one is after login.
What I want to achieve is, before login needs to be fast and SEO friendly, should I choose pre-render or SSR?
And after login, we can choose CSR (so the client is…

KeepLearning
- 327
- 6
- 13
2
votes
1 answer
SharePoint 2013 - overriding fields with JavaScript
Recently I've been assigned to set up a few simple changes to SharePoint site.
Few initial conditions:
- it's sharepoint 2013
- it should be implemented with JS
- I have basic knowledge of JS and no experience with SharePoint whatsoever
I have a JS…

Whichmann
- 153
- 1
- 7
1
vote
0 answers
What would be different behaviour and result on different values of page options and their combination in Sveltekit?
Sveltekit provide 3 page options givent https://kit.svelte.dev/docs/page-options
prerender
csr
ssr
These are the possible cases
Taking one at a time
e.g. where we are setting
export const prerender = true;
or
export const prerender =…

Alok
- 7,734
- 8
- 55
- 100
1
vote
0 answers
To findout CSR, SSR in next.js
I'm using package.json
"next": "13.0.6",
"react": "18.2.0",
"react-dom": "18.2.0",
Case 1
const [domLoaded, setDomLoaded] = useState(false);
useEffect(() => {
setDomLoaded(true);
}, []);
...
{domLoaded && (
<>
…

siwonblue
- 11
- 2
1
vote
1 answer
Single Product in Nuxt page in nuxt
I am new to Nuxt and trying to make a Single Product. I wonder:
How is it possible to generate multiple pages in SSR and can create a new HTML for each page? Is CSR should be created first and then the SSR made or vice versa?
If Vuex is used and a…

sara
- 21
- 3
1
vote
0 answers
1
vote
1 answer
Build and run a React SSR application as a pure client side application
My two apps (a CSR and an SSR version of the same app)
I have created a standard Client Side Rendered (CSR) React application using "create-react-app". This is a client side only application whereby the whole app is deployed and run in a browser.
I…

se22as
- 2,282
- 5
- 32
- 54
1
vote
2 answers
SharePoint CSR Templates.View function not being called
I created a simple JSLink CSR test that should override the view in SharePoint when an individual list item is displayed.
The viewTemplate function is never called. Here is the JSLink JavaScript file. I walked through the code in debugger and I step…

Hal Hayes
- 11
- 3
1
vote
1 answer
How single-page application works in SSR (React)
From what I gathered, SSR means that when there is '/' http request for example, your server gets the request and starts collecting every rendable piece such as jsx codes. Then your server renders it to 'index.html' page. After your index.html gets…

han
- 97
- 1
- 1
- 5
1
vote
1 answer
SharePoint 2013 list search box and Client Site Rendering (JSLink)
Im trying to implement a FAQ accordion SharePoint list.
I managed to get the accordion working while using JSLink.
Sadly the search is not working properly.
I used the following code in my JSLink js:
(function () {
/*
* Initialize the variable that…

Bo4711
- 11
- 1
- 2
0
votes
1 answer
javascript- Post customized content on LinkedIn/Facebook other than Meta Tags
I have seen many solutions for sharing on LinkedIn/Facebook. But in those solutions, the content being shared is static, that is the content we are mentioning in OG tags of our index.html file.
But my pages are being rendered on the client side and…

Shriram
- 121
- 2
- 9
0
votes
0 answers
iPhone and iPad not showing / not getting API response for client side rendering in next js app
iPhone and iPad not showing / not getting API response for next js app.
UI not showing data for client-side rendering. But showing data for server-side rendering successfully.
This issue is happening on iPhone and iPad only. Mac, Windows, and…

Musadul Islam
- 341
- 3
- 11
0
votes
1 answer
All images and stylings preloaded before webpage displayed on React
I am making a website with React and it has client-side rendering. I want the page to be fully loaded with the fonts and the images properly on the page (and also inside the components used in the page) before the page is even displayed to the…

Chloe
- 3
- 4
0
votes
0 answers
How to intercept a Firebase website to inject HTML before page is served to client side?
I have a firebase website hosted in Firebase hosting and built using Ionic Framework (Angular 8.2).
The web app uses a client-side rendering (default Angular 8 behavior) and does not load any web app content to the browser's HTML. This causes…

Eyad
- 13,440
- 6
- 26
- 43
0
votes
1 answer
Nuxt 3 routeRules for disabling SSR only for one page
I have a Vue 3 with Nuxt 3 application.
My folder structure is like this with pages folder being in the root:
-- pages/
-- games/
-- skills/
-- [player].vue
-- more-pages/
In my nuxt.config.ts file I have a property for…

myverdict
- 622
- 8
- 24