# JavaScript & React SEO

> JavaScript SEO makes sites built with React, Vue or AI site builders readable to search engines and AI crawlers. Google can render JavaScript, but many AI crawlers read only the raw HTML. We move key content into the initial HTML with server rendering or prerendering and fix routing, links and metadata.

Sites built quickly with AI tools often look great and send crawlers an almost empty page. That is fixable.

## Why it matters now
If your content only appears after JavaScript runs, some crawlers see a blank shell. That keeps you out of AI answers even when Google eventually indexes the page.

## What is included
- Raw HTML versus rendered DOM comparison
- Server-side rendering or static prerendering setup
- Crawlable links instead of click handlers
- Per-route titles, descriptions and canonicals
- Sitemaps generated from routes
- Testing with JavaScript disabled

## How we do it
1. **Compare.** Fetch pages with and without JavaScript.
2. **Choose.** Pick server rendering, prerendering or a hybrid.
3. **Implement.** Render content and metadata in the initial HTML.
4. **Test.** Confirm crawlers receive the full page.

## Deliverables
- Rendering audit
- Implementation plan
- Rendering changes
- Crawler test results

## Who it is for
- Sites built with Lovable, Bolt or similar tools
- React and Vue single-page apps
- Marketing sites whose pages will not index

## Frequently asked questions
### Does Google index JavaScript sites?

Google renders JavaScript, though rendering can be delayed and some patterns fail. Many AI crawlers do not render at all, which is why content in the initial HTML matters.

### Do we have to rebuild the site?

Not always. Prerendering can often be added to an existing single-page app. We recommend a rebuild only when the architecture makes it the cheaper path.

## Related
- [Agent-Ready Websites](https://sproutgrowthengine.com/services/ai-search/agent-ready-websites/)
- [Technical SEO](https://sproutgrowthengine.com/services/seo/technical-seo/)
- [Site Speed & Core Web Vitals](https://sproutgrowthengine.com/services/seo/core-web-vitals/)

---

Sprout Growth Engine is the AI search and organic growth practice of Sprout for Business, LLC. 15 Cross Rd, Unit 4, Hooksett, NH 03106. Phone 603-227-5240. Contact form: https://sproutgrowthengine.com/contact/. Rated 4.8 out of 5 from 59 Google reviews (https://search.google.com/local/reviews?placeid=ChIJj9ZDxjZq4okRzO1Wn8jLTb0, checked 2026-09-29).

HTML version: https://sproutgrowthengine.com/services/seo/javascript-seo/
