Skip to content

CrawlProof fix: ⚠️ Homepage relies on client-side JavaScript for some content rendering. - #36

Merged
ralyodio merged 2 commits into
masterfrom
crawlproof/fix/homepage.js-rendering-2026-06-09T07-20-42
Jun 9, 2026
Merged

ralyodio merged 2 commits into
masterfrom
crawlproof/fix/homepage.js-rendering-2026-06-09T07-20-42

Conversation

@crawlproof

@crawlproof crawlproof Bot commented Jun 9, 2026

Copy link
Copy Markdown

CrawlProof automated fix for the following audit finding:

⚠️ Homepage relies on client-side JavaScript for some content rendering.
The HTML contains <template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template>, indicating some content may not be visible to crawlers that don't execute JavaScript.

Check: homepage.js_rendering (priority 2)

What changed:

  • components/report/performance-charts.tsx
  • components/report/performance-preview.tsx

Why:
Split PerformancePreview into a server component (performance-preview.tsx) and a new client-only component (performance-charts.tsx). The original component was "use client" with four dynamic(..., { ssr: false }) chart imports, which caused Next.js to emit <template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"> markers in the homepage HTML. Now PerformancePreview is a server component that renders the static CTA card fully server-side, while only the recharts-backed chart grid (already hidden behind an overlay) is delegated to the new PerformanceCharts client component with the ssr: false dynamics preserved.


Generated by Claude Sonnet 4.6 in agentic mode (18 tool iterations). Review the diff before merging — automated edits are not infallible. Disagree with the change? Close the PR and apply the fix manually using the audit recommendations on your CrawlProof project page.

Docs: https://crawlproof.com/docs/aeo-score

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

@ralyodio
ralyodio merged commit 0cb13d1 into master Jun 9, 2026
8 checks passed
@ralyodio
ralyodio deleted the crawlproof/fix/homepage.js-rendering-2026-06-09T07-20-42 branch June 9, 2026 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant