<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Renderlix]]></title><description><![CDATA[All you want to know about Renderlix]]></description><link>https://marat-yelesbaiev.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6b0809691b8f12f5b88b9c24/870b8179-e0ae-43e4-802c-f903e8a93a7f.jpg</url><title>Renderlix</title><link>https://marat-yelesbaiev.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 01:57:49 GMT</lastBuildDate><atom:link href="https://marat-yelesbaiev.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Can AI Crawlers See Your React App? How to Check and Fix It]]></title><description><![CDATA[Open your React app, press Ctrl+U, and look at the HTML your server actually sends. On a typical client-rendered app you'll find a title tag, a few script…]]></description><link>https://marat-yelesbaiev.hashnode.dev/can-ai-crawlers-see-your-react-app-how-to-check-and-fix-it</link><guid isPermaLink="true">https://marat-yelesbaiev.hashnode.dev/can-ai-crawlers-see-your-react-app-how-to-check-and-fix-it</guid><category><![CDATA[React]]></category><category><![CDATA[SEO]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[AI]]></category><dc:creator><![CDATA[Marat Yelesbaiev]]></dc:creator><pubDate>Thu, 26 Nov 2026 10:42:18 GMT</pubDate><content:encoded><![CDATA[<p>Open your React app, press Ctrl+U, and look at the HTML your server actually sends. On a typical client-rendered app you'll find a title tag, a few script tags, and something like this:</p>
<pre><code class="language-html">&lt;body&gt;
  &lt;div id="root"&gt;&lt;/div&gt;
  &lt;script type="module" src="/assets/index-a1b2c3.js"&gt;&lt;/script&gt;
&lt;/body&gt;
</code></pre>
<p>That's the whole page as far as the first request is concerned. Everything your visitors read, every heading, price and paragraph, gets built later by JavaScript in the browser. For people that's fine. For crawlers it depends on who's asking, and in 2026 more of the "who" is an AI system.</p>
<h2>What crawlers actually see on a client-rendered page</h2>
<p><strong>Googlebot renders JavaScript, eventually.</strong> Google describes its pipeline as three phases: crawling, rendering and indexing. Pages go into a render queue, a headless Chromium executes the JavaScript, and the rendered HTML is what gets indexed (<a href="https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics">Google Search Central</a>). It works, but rendering can lag behind crawling, and anything that fails to load during that render simply isn't there.</p>
<p><strong>Most AI crawlers have historically read only the raw HTML.</strong> Vercel analysed crawler traffic across its network and found that ChatGPT's and Claude's crawlers do fetch JavaScript files (11.50% and 23.84% of their requests) but don't execute them (<a href="https://vercel.com/blog/the-rise-of-the-ai-crawler">Vercel, "The rise of the AI crawler"</a>). They download your bundle and then ignore what it would have built.</p>
<p><strong>The picture is starting to shift, unevenly.</strong> In late September 2026 a developer reported from his own server logs that OAI-SearchBot and GPTBot began rendering JavaScript on his sites from September 25, and noted he couldn't find any announcement from OpenAI (<a href="https://www.indiehackers.com/post/traffic-from-chatgpt-jumped-is-it-because-its-crawlers-now-run-javascript-5dea2e48d0">report on Indie Hackers</a>). By his own observation it looked like rendering was switched on only for some sites. So: maybe some bots render some of the time. That's not something to build a strategy on.</p>
<p>The safe conclusion hasn't changed: if content matters, it should be in the first HTML response. Then it doesn't matter which crawler renders and which doesn't.</p>
<h2>Why this matters even if Google indexes you fine</h2>
<p>It's tempting to stop at "Google renders it, so we're covered." Three things make that risky.</p>
<p>First, AI answers are a traffic source now. When someone asks ChatGPT, Claude or Perplexity which tool to use for a job, those systems lean on what their crawlers could read. A page that's an empty shell to them is a page they can't quote, however well it ranks on Google.</p>
<p>Second, Google's render step is a second pass. Content that only exists after JavaScript runs reaches the index later than content in the HTML, and a slow API call or a blocked script during that render means the content is missing from what Google saw.</p>
<p>Third, plenty of the web's plumbing never ran JavaScript in the first place: link previews in Slack, LinkedIn and X, many SEO tools, and smaller search engines. They all read the first response and move on.</p>
<h2>How to check your site in five minutes</h2>
<p>You don't need a special tool. A terminal and a browser are enough.</p>
<p><strong>1. Look at the raw HTML.</strong> View the page source (not DevTools, which shows the live DOM) and search for a sentence you can see on screen. If it's not in the source, a non-rendering crawler won't see it either.</p>
<p><strong>2. Ask for the page the way a bot would.</strong> curl lets you send any User-Agent:</p>
<pre><code class="language-bash">curl -s -A "Mozilla/5.0 (compatible; GPTBot/1.0; +https://openai.com/gptbot)" \
  https://example.com/pricing | grep -o "&lt;title&gt;[^&lt;]*&lt;/title&gt;"
</code></pre>
<p>This shows what your server returns to that User-Agent. The full strings for each bot are in the vendors' docs, such as <a href="https://developers.openai.com/api/docs/bots">OpenAI's crawler page</a>; for this test any string containing the bot's name will do.</p>
<p><strong>3. Compare word counts.</strong> Count the visible words in the raw HTML and in the rendered page:</p>
<pre><code class="language-bash"># raw HTML, tags stripped
curl -s https://example.com/pricing | sed -e 's/&lt;[^&gt;]*&gt;//g' | wc -w

# rendered DOM from headless Chrome
google-chrome --headless --dump-dom https://example.com/pricing \
  | sed -e 's/&lt;[^&gt;]*&gt;//g' | wc -w
</code></pre>
<p>The numbers won't match exactly, and that's fine. A gap like 40 versus 1,800 is the problem in one line.</p>
<p><strong>4. Use Search Console's URL Inspection.</strong> "View crawled page" shows the HTML Google ended up with after rendering, plus any resources it couldn't load.</p>
<p><strong>5. Paste the link into Slack or LinkedIn.</strong> Link previews come from crawlers that don't run JavaScript either. A generic title and no image usually means the meta tags are being added client-side.</p>
<h2>Three ways to fix it</h2>
<table>
<thead>
<tr>
<th>Approach</th>
<th>What it means</th>
<th>Good for</th>
<th>Trade-off</th>
</tr>
</thead>
<tbody><tr>
<td>SSR / SSG</td>
<td>The server (or the build) produces full HTML: Next.js, React Router v7 framework mode, Astro, Nuxt</td>
<td>New projects, teams that can change the architecture</td>
<td>Real migration work on an existing SPA</td>
</tr>
<tr>
<td>Prerendering</td>
<td>Bots get a cached HTML snapshot, humans get the regular app</td>
<td>Existing SPAs, teams that can't migrate soon</td>
<td>Another moving part: caching and bot detection</td>
</tr>
<tr>
<td>Partial fixes</td>
<td>Static meta tags in index.html, llms.txt, a few static landing pages</td>
<td>Quick wins on top of either</td>
<td>Doesn't put the real page content in the HTML</td>
</tr>
</tbody></table>
<p>If you're starting fresh, SSR or static generation is usually the cleanest answer. The hard case is the app that already exists, ships weekly, and has nobody free to move it to a new framework this quarter. That's where prerendering earns its place.</p>
<p>The partial fixes are worth doing regardless. Putting a real title, description and Open Graph tags straight into <code>index.html</code> costs an hour and fixes link previews immediately. An llms.txt file gives AI systems a plain-text map of your important pages. Neither puts your actual page content in the HTML, so treat them as extras, not the fix.</p>
<h2>How prerendering works</h2>
<p>The idea is simple. A headless browser loads your page, waits for the JavaScript to finish, and saves the resulting HTML. When a crawler asks for that URL, it gets the saved snapshot. Everyone else gets the normal app.</p>
<p>The switch usually lives in front of the app, in nginx or an edge worker, and keys off the User-Agent:</p>
<pre><code class="language-nginx">map $http_user_agent $is_bot {
    default 0;
    ~*(googlebot|bingbot|gptbot|oai-searchbot|chatgpt-user|claudebot|perplexitybot|linkedinbot|twitterbot|slackbot) 1;
}
</code></pre>
<p>Requests where <code>$is_bot</code> is 1 (and that aren't for static assets) are proxied to the prerenderer; the rest fall through to <code>index.html</code> as usual. You can run the renderer yourself with the open-source Prerender server and headless Chrome, or use a hosted service. Renderlix, for example, provides <a href="https://renderlix.com/">prerendering for AI crawlers</a> at the nginx or Cloudflare Worker level (or through an SDK for Next.js and Express), so the React app itself stays untouched.</p>
<p>Two details decide whether this works well in practice. First, your app should tell the renderer when it's done: setting <code>window.prerenderReady = false</code> at startup and <code>true</code> once data has loaded stops snapshots from being taken half-way. Second, snapshots need refreshing when content changes, or bots will keep reading yesterday's prices.</p>
<h2>Is prerendering cloaking?</h2>
<p>It's a fair question, since bots and humans are technically served differently. Google's position is that dynamic rendering, which is what prerendering for bots is, is a workaround rather than a recommended long-term solution, because it adds complexity. It also says Googlebot generally doesn't treat it as cloaking as long as the content is similar to what users see (<a href="https://developers.google.com/search/docs/crawling-indexing/javascript/dynamic-rendering">Google: Dynamic rendering as a workaround</a>).</p>
<p>So the rule is: same content, different delivery. A snapshot of the page your users see is fine. A special keyword-stuffed version for bots is not.</p>
<h2>Post-launch checklist</h2>
<ul>
<li>Bots get HTTP 200 and the full page HTML, not a redirect, a 404 or an empty shell.</li>
<li>robots.txt doesn't block GPTBot, ClaudeBot or PerplexityBot unless you mean it to.</li>
<li>The snapshot matches what users see: same headings, same prices, same text.</li>
<li>Title, description and Open Graph tags are present in the raw HTML.</li>
<li>Snapshots are refreshed when content changes, and you know how old the oldest one is.</li>
<li>Static assets (JS, CSS, images) are excluded from prerendering.</li>
</ul>
<h2>FAQ</h2>
<p><strong>Does Googlebot render JavaScript?</strong> Yes. Google crawls, renders in headless Chromium, then indexes, though rendering can happen later than crawling.</p>
<p><strong>Does GPTBot run JavaScript?</strong> Historically, no: Vercel's data showed OpenAI's crawler fetching JS files without executing them. Since September 2026 there are reports of OpenAI's crawlers rendering on some sites, with no official confirmation. Plan as if they don't.</p>
<p><strong>Is dynamic rendering still OK for Google?</strong> Google calls it a workaround, not a recommended solution, but doesn't treat it as cloaking when bots and users get similar content.</p>
<p><strong>Should I block AI crawlers?</strong> That's a business decision. If you want to be cited in ChatGPT, Claude or Perplexity answers, blocking their crawlers works against you. If you block them, rendering doesn't matter for those bots.</p>
<hr />
<p><em>Originally published on the Renderlix blog. This article was written by the Renderlix team. We build a prerendering service, so we've tried to keep the tool-specific part to one paragraph and give you checks you can run without us.</em></p>
]]></content:encoded></item></channel></rss>