49 questions
0 votes
1 answer
25 views
Nuxt Seo from external api ssr
How can I get the seo of my Nuxt app from one external api, in this case strapi, and use it in my app, actually I have this, // enter code here import { getEnv } from "../src/utils"; import {...
0 votes
0 answers
132 views
How to prevent exposing real data in AJAX response (SSR vs CSR) and instead return opaque tokens?
I’m comparing two ways of rendering HTML structures with data from PHP + MySQL. Option 1: SSR (Server-Side Rendering) PHP builds the HTML and returns it directly: PHP: else if(isset($_POST["...
-1 votes
1 answer
315 views
Next.js browser back button updates URL but not page content
I'm building an eCommerce website using Next.js. Everything loads and navigates correctly when browsing categories or product pages using links. However, I'm running into an issue when using the ...
0 votes
0 answers
127 views
Implement lazy-loading using client-side rendering in AgGrid
I am unable to manually implement lazy-loading in the grid using client-side rendering. The reason for not using row model 'infinite' or 'server-side' is that we do not want to make changes in the ...
0 votes
1 answer
99 views
How to ensure full HTML content is rendered on initial load in Next.js for SEO?
I have a Next.js website where I am using client-side features like context providers. However, I am not getting the full HTML content on the initial HTML response. Instead, the content is loaded ...
2 votes
0 answers
75 views
Conditionally rendering components in a Server-Side Rendered component in NextJS
I am new to NextJS and working on a new project in NextJS 15. I understand the difference between SSR and CSR and the benefits they have. But I am having problem. I want to create a page, that ...
1 vote
3 answers
457 views
NextJS 'use client' page
I am new to NextJS so trying to just clarify something. I am working with NextJS 15 and in a course learnt about server side rendering and client side rendering. I am working on a page, that acts like ...
0 votes
0 answers
129 views
nextjs client side dynamic app routes is not working in production but working well in dev
When I forget the password, mail sent to my gmail through nodemailer and I get this http://localhost:3000/password/reset/d325795aa2ce721f63c805b695b6e96b3dd255f4 In production the url with this domain:...
0 votes
0 answers
97 views
How to achieve something like Partial Pre-rendering
I am trying to implement something like : <header with login related components such as showing login/logout button depending on browser content /> <server side rendered or pre rendered ...
0 votes
2 answers
128 views
Equivalent of BrowserOnly within NextJS - i.e. true client-side rendering
In recent versions of nextjs, one can use the use client directive to tell nextjs to render the component "in the client", instead of on the server. Digging deeper into this, its a terrible ...
1 vote
0 answers
48 views
How to make sure that my API is only accessed by my csr frontend
I am making an API using django and drf. My problem is my frontend devs doesn't want to have a ssr application, so I must have a way to protect my API so if a user figures out an endpoint, they can't ...
3 votes
1 answer
2k views
How do I know if the Angular is running in SSR?
When I was running the Angular application, I tried to use the following code to determine whether the Angular app is running in SSR or CSR. const platformId = inject(PLATFORM_ID); console.log('...
0 votes
1 answer
870 views
Is it unnecessary to render static content in a server component and then pass it to a client component via a prop in NextJS
I am just wondering if the first of the two examples is redundant since according to the NextJS docs, Client Components allow you to write interactive UI that is prerendered on the server and can use ...
1 vote
1 answer
200 views
How to Handle SEO for Client-Side Components in Next.js which has Text Content for Search Engine Ranking?
I am building a Next.js application where I have a single common audio file and multiple text components. Each text component corresponds to a specific timestamp in the audio file. The text components ...
0 votes
0 answers
84 views
Is vue route guard using client side rendering secure?
I know this has been discussed several times but I am still lacking the information, how easily someone can mess with your authentication logic on the client side. So this is my understanding of how ...