Modern sites rely on JavaScript to render their content in the browser, which works for users. Some systems read only the initial HTML, while others render the JavaScript first. If the words appear only after the script runs, then a system that does not render can read an empty shell. So it is worth checking what the specific crawler or AI engine you care about actually receives.
When content is rendered client-side, a crawler, and an AI engine, can see the empty shell on the left. What loads before JavaScript is what gets indexed.
Why it matters more than it used to
Google does render JavaScript, subject to its documented processing and limits, so rendering is a separate step and does not happen instantly (Google JavaScript SEO basics). Rather than assuming that all JavaScript content fails, you should diagnose the specific page. Many AI engines read the served HTML and do not render at all, so content that needs JavaScript may never reach them. That makes rendering a question of AI visibility as well as a question of SEO.
How to tell if you have the problem
- View the page's source (the raw HTML), not the rendered DOM. If your main content is not in it, a crawler may not see it either.
- Turn off JavaScript in the browser and reload the page. What remains is close to what a system that does not render receives, and it is only one way of looking at the problem.
- Check whether your key pages are indexed, using the crawler's own inspection tool, such as URL Inspection in Search Console. When content-rich pages are not indexed, that is a common symptom.
How to fix it
- Server-side render or pre-render the important content, so it is in the HTML the server sends.
- Put the answer in the initial HTML, especially the first paragraph and headings, even if the rest hydrates client-side.
- Use real links that have href destinations rather than relying on click handlers alone, and confirm that they appear in the content the target system processes, so that discovery does not depend on rendering (see Discovered, currently not indexed).
JavaScript SEO FAQ
Doesn't Google render JavaScript now?
Yes. Google renders JavaScript as part of its documented process, so you should inspect the affected page rather than assuming that the initial response is the final indexed content (JavaScript SEO basics). Many AI engines do not render at all and read only the served HTML.
Is React or Vue bad for SEO?
The name of a framework on its own does not prove that there is an SEO defect. React and Vue can both be used on sites that search engines can access. What matters is the implementation, and how the essential content, links and metadata are delivered to the target system.
How do I know what a crawler sees?
Use the source view and the rendered view together, along with the relevant crawler's inspection tool, such as URL Inspection in Search Console, and note which observation each result represents. Auditaar compares the initial HTML against the rendered page and flags the material differences that depend on JavaScript.
Auditaar compares the initial HTML against the rendered page and highlights the material differences so you can investigate them, and it shows which pages were rendered and what the limits of the comparison are. Run an audit, or read the top technical SEO mistakes.
