Skip to content
Renderly
Menu

Glossary · Technical

Client-side rendering (CSR)

Also called: CSR, single-page application rendering, SPA rendering · Updated 6 November 2026

Client-side rendering (CSR) is a rendering mode where the server sends a minimal HTML shell and JavaScript running in the browser fetches data and builds the page content.

A classic single-page app built with Create React App or a plain Vite React setup is client-rendered. The HTML response looks like this:

<body>
  <div id="root"></div>
  <script src="/assets/index-3f9a.js"></script>
</body>

Everything a reader sees arrives only after that script downloads, runs and calls an API.

Why it matters

  • Googlebot can render it, but in a separate rendering step that may come later than the crawl. Rendering failures (blocked scripts, API timeouts, errors) leave Google with an empty page.
  • Most AI crawlers, such as GPTBot, ClaudeBot and PerplexityBot, fetch HTML without running JavaScript. To them a CSR page has no content, so it cannot be cited.
  • LCP usually suffers, because the main content waits on JavaScript and data.

When CSR is fine

Logged-in dashboards, account pages and tools behind authentication. Nobody needs those in a search index.

How to check a page

Run curl -s https://example.com/page | grep "your main heading". If the heading is missing from the raw response, the content depends on client-side rendering. View source (not the Elements panel) shows the same thing.

Common mistakes

  • Testing only in Google’s URL Inspection tool, which renders JavaScript, and assuming every crawler sees the same.
  • Prerender services that serve bots a different version than users and drift out of date.
  • Client-side routing without real URLs, so crawlers cannot reach inner pages.

How Renderly handles it

We move public pages to SSR or static generation and keep CSR for app screens. See technical SEO for JavaScript and headless sites.

Next step

Want to know where your site stands?

Send us the URL. We run the crawl, the rendering check and an answer engine visibility sample, then reply with the three fixes that matter most.