---
title: "Comment by Jonas on \"Prerendering a Vite + React SPA with Playwright so crawlers and AI agents see real HTML\" | Hashnode"
description: "I’d extend check-meta to check the body too: the expected H1, a route-specific paragraph and the main links. The JSON-LD element can appear before async content"
url: "https://hashnode.com/posts/prerendering-a-vite-react-spa-with-playwright-so-crawlers-and-ai-agents-see-real-html/6abdf8449c9c4d86651e41cf/comment/6ac7446c3aa386bcb6090555"
---

[Discussion](https://hashnode.com/posts/prerendering-a-vite-react-spa-with-playwright-so-crawlers-and-ai-agents-see-real-html/6abdf8449c9c4d86651e41cf)

Comment [Prerendering a Vite + React SPA with Playwright so crawlers and AI agents see real HTML](https://hashnode.com/posts/prerendering-a-vite-react-spa-with-playwright-so-crawlers-and-ai-agents-see-real-html/6abdf8449c9c4d86651e41cf)

[Jonas](https://hashnode.com/@jonasb)

[Oct 8](https://hashnode.com/posts/prerendering-a-vite-react-spa-with-playwright-so-crawlers-and-ai-agents-see-real-html/6abdf8449c9c4d86651e41cf/comment/6ac7446c3aa386bcb6090555)

I’d extend check-meta to check the body too: the expected H1, a route-specific paragraph and the main links. The JSON-LD element can appear before async content has finished loading, so it’s possible to save a snapshot with a complete head and a loading state in the body.

If the page has async content, I’d wait for a signal from that content before saving it, then check the deployed URL as well as the file in dist.

I’m building Prerender Buddy, so this is close to what I work on. The check that matters here is what the URL actually returns.
