Client-side rendering (CSR)
- What the initial HTML contains
- An empty shell; content appears after JavaScript runs
- SEO note
- Google can render it, but some crawlers can't. See client-side rendering
React apps can be indexed, but how you render and link them decides whether Google sees your content. Learn the rendering options and a launch checklist.
React SEO is making a React app discoverable in search. Google runs JavaScript with an evergreen Chromium, so client-rendered React can be indexed, but Google says server-side or pre-rendering is still a great idea because it makes pages faster for users and crawlers and not all bots can run JavaScript.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
Yes. Google processes JavaScript web apps in three phases: crawling, rendering and indexing. Googlebot fetches the URL, reads the links in the HTML, queues the page for rendering, and a headless Chromium then runs your JavaScript. Google indexes the rendered HTML and parses it for more links.
The risk is the app shell model, where the first HTML has no content and Google has to execute JavaScript to see it. Google says rendering can take a few seconds or longer, and that other crawlers may not run JavaScript at all. That is why the choice of rendering matters. See JavaScript SEO.
The React team recommends starting with a framework. React's docs say the frameworks they list support CSR, single-page apps and SSG, and let you add server-side rendering on a per-route basis, so you can begin client-only and opt in routes later. Next.js (App Router) and React Router (v7) are two of them. See the Next.js guides.
Google follows <a> elements with an href. <a routerLink>, <span href> and <a onclick> are not recommended. Check that your router's link component outputs an <a href>.
For client-side routing use the History API, not URL fragments like #/products, which Googlebot can't reliably resolve.
You can set <title> and the meta description with JavaScript. In Next.js, the Metadata API generates the head tags for you, in Server Components.
Google says HTML is the best way to set it. If you must use JavaScript, set the same value the HTML would have, and don't change it to a different URL.
A missing product should return a real 404. In a client-routed app, redirect to a URL that returns 404, or add noindex to the error view, to avoid soft 404 errors.
Google won't render JavaScript from blocked files or on blocked pages, so keep them out of robots.txt disallow rules.
View page source, then inspect the live DOM in DevTools. If the content only appears in the DOM, you depend on rendering.
Run the URL through Search Console's URL Inspection tool and check the rendered HTML for your text, links and anchor text.
Run curl -s https://example.com/page | grep "your headline". No match suggests the headline is added by JavaScript.
<!-- Crawlable: a real URL in an href -->
<a href="/products/shoes">Running shoes</a>
<!-- Not recommended: no href, navigation happens in a script -->
<a onclick="goTo('shoes')">Running shoes</a>5 questions people ask next, answered from the sources on this page.
Not inherently. Google renders JavaScript with an evergreen Chromium, so React content can be indexed. The weak spots are content that only exists after client-side rendering, links without href, and soft 404 errors.
Google doesn't require it, but says server-side or pre-rendering is still a great idea because it makes your website faster for users and crawlers, and not all bots can run JavaScript.
Google says you can use JavaScript to set or change both. In Next.js, the metadata object or generateMetadata function in a Server Component produces the head tags automatically.
No. Google describes it as a workaround and not a long-term solution, and recommends server-side rendering, static rendering or hydration.
The React docs recommend starting with a framework and list Next.js (App Router) and React Router (v7), among others. Pick by the rendering you need, then verify with URL Inspection.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.