Your React site is invisible to half the internet — and now to AI search too
14 July 2026 · CodeGenexis
Open your site, right-click, and view the page source. Not the element inspector — the raw source, the thing a crawler downloads. If what you see is a single empty div and a bundle of script tags, your content does not exist until a browser executes your JavaScript. Google will usually get there eventually. Bing is less patient. AI search assistants — increasingly where buying decisions start — mostly don't execute JavaScript at all. To them, your site is a blank page.
This is the single most common technical problem we find when auditing sites built in the last five years. The site looks finished, the client paid for it, and it is structurally invisible. Nobody did anything wrong on purpose: client-side rendering is simply the default output of the tutorials and templates most teams start from.
The three ways out
- Pre-rendering or static export — smallest change if your content rarely updates. Your build produces real HTML files; the JavaScript hydrates on top. Days of work, not weeks.
- Server-side rendering with a framework like Next.js — the durable fix. Every route ships real HTML, and your marketing pages stop depending on the client's device to exist. Usually a rebuild of the shell, keeping most components.
- A separate crawler-facing render (dynamic rendering) — the legacy workaround. Fragile, deprecated by Google, and we no longer recommend it for new work.
Which one is right depends on how much of your traffic should come from search. For an internal dashboard, none of this matters. For a marketing site, a storefront, or anything you expect people to find, server-rendering is not an optimisation — it is the ticket to entry, and it is the reason this site ships real HTML on every route.