TL;DR
- A UAE B2B software company's key service pages, built with React, Vite and Astro, looked perfect to visitors but rendered half-empty for Googlebot.
- Robots.txt, canonicals, sitemaps and noindex were all clean. The real culprit was a React SEO problem hiding in CSS: headings and hero copy started at
opacity: 0and waited for an animation that Googlebot never triggered. - We shipped crawler-safe visible defaults and a tighter hero layout within 72 hours, and Google's rendered snapshots came back complete.
- The lesson for any JavaScript SEO project: server rendering gets your text into the HTML, but your CSS still decides whether Google treats it as visible.

At a glance
- Client: A UAE B2B software company (name withheld)
- Website: React + Vite + Astro
- Problem: Key service pages rendered empty for Googlebot and indexed slowly
- Root cause: Hero and heading content started at opacity 0 and waited for scroll animations
- Result: Complete rendered snapshots within about 72 hours of the fix
Most React SEO advice stops at one instruction: render on the server. This client had already done that. Their site ran on Astro, which ships static HTML by default, and their commercial pages still struggled to index.
That is what makes this case worth writing up. It shows a failure mode the standard JavaScript SEO checklists skip, and it is spreading fast as more marketing sites lean on motion design.
The Client and the Problem: Beautiful for Users, Blank for Google
The client is a B2B software and cloud services company targeting buyers in the UAE. The affected pages were the ones that pay the bills: their custom software development service page, their cloud services page and their UAE "About Us" page. These pages carry commercial intent and feed the sales pipeline, so slow indexing was costing real leads.
In a browser, every page was fast and polished. In Google Search Console, the URL Inspection screenshots told another story:
- Hero sections showed up empty
- Above-the-fold headings were missing
- Some body sections rendered as blank gaps
- Rendered snapshots changed from one test to the next
- New and updated pages took noticeably longer to index than the rest of the site
When Google cannot confirm what a page is about, it has little reason to rush it into the index or rank it confidently. For a commercial page, that is silent revenue loss.
What We Ruled Out First
Before blaming rendering, we checked every common indexing blocker. You should too, because rendering problems are rarer than a stray noindex tag. Our technical SEO checklist for 2026 walks through the full list.
| Check | What we looked for | Result |
|---|---|---|
| Robots.txt | Blocked paths, blocked JS or CSS files | Clean |
| Meta robots | Accidental noindex | Clean |
| Canonical tags | Canonicals pointing to other URLs | Clean |
| XML sitemap | Pages listed with correct URLs | Clean |
| Status codes | 200 responses, no redirect chains | Clean |
| Internal links | Orphan pages, weak discovery | Clean |
Everything passed. When the permissions are clean but Google still does not "see" the page, the problem usually sits in how the page renders.
The Root Cause: A React SEO Problem Hiding in CSS
The pages were invisible because their key content started hidden and only appeared after an animation that Googlebot never ran. The text existed in the HTML. Google simply rendered it at zero opacity.
The site used entrance animations on almost every major element. Headings, hero copy and feature blocks all began with styles like these:
opacity: 0transform: translateY(40px)- A delayed reveal, triggered when the element scrolled into view
For a human visitor this creates a smooth, premium reveal. For Googlebot it is a trap. Google has said plainly that Googlebot does not scroll, and its lazy-loading guidance asks sites to load content based on viewport visibility, not user actions. It renders the page in a very tall viewport and takes a snapshot. Any reveal that waits for a scroll event, or for an observer callback that does not fire the way you expect, leaves the content frozen in its hidden starting state.
Important: Server-side rendering did its job here. The text was in the HTML. The problem was that the CSS told every renderer, including Google's, to keep that text invisible until JavaScript said otherwise.
There was a second, smaller issue. Several hero sections used very tall minimum heights with content centred vertically. That design produced a mostly empty first screen in the URL Inspection screenshot, which made an already weak snapshot look worse. It mattered less for indexing than the opacity problem, because Google renders far below the fold, but it made diagnosis harder and hurt mobile users too.

Is Astro SEO Friendly? Yes, and That Is the Point
Astro is one of the most SEO friendly frameworks available, because it renders pages to static HTML and only hydrates the interactive islands. This case does not change that. It shows that the framework is only half the job.
Astro SEO, React SEO and Next.js SEO all share the same blind spot: none of them stop a designer from shipping opacity: 0 on an H1. The rendering architecture decides whether your words reach Google. Your styling decides whether Google treats them as visible, primary content.
The Fix: What We Shipped in 72 Hours
We fixed it by making content visible by default and treating animation as a layer added on top, not a gate the content must pass through. Working with the client's developers, we shipped four changes.
1. Visible-by-Default CSS
Every key element above the fold got a safe default state: full opacity, no transform offset, stable position. If no animation script runs at all, the page now looks finished.
2. Motion Applied Only After a Real Browser Session Starts
The hidden "pre-animation" state is now applied by JavaScript, at runtime, in the visitor's browser. Previously it was hard-coded into the stylesheet. Under pressure to ship fast, the team also added a crawler check that skips the motion layer for known bot user agents.
Our honest take: The crawler check worked as an emergency fix, and because bots and users get the same content, it is not cloaking. But Google calls this kind of bot-specific handling a workaround, not a long-term solution. Our follow-up recommendation was to remove the user-agent check entirely once visible-by-default CSS was proven, and to respect prefers-reduced-motion while doing it. Fewer code paths, less risk.
3. Rebuilt Hero Spacing
On desktop, hero sections now use balanced spacing with the headline visible immediately. On mobile, hero height is automatic, so content starts in the first screen instead of after a block of empty space.
4. A Rendering Check in the Release Process
Every new commercial page now goes through URL Inspection's live test before launch, with a quick comparison of the rendered screenshot against the live design.

Results: What Changed After the Fix
Within roughly 72 hours, Google's rendered snapshots of the affected pages showed complete headings, hero copy and body sections, and the pages moved into a healthier crawl and indexing cycle.
| Signal | Before the fix | After the fix |
|---|---|---|
| URL Inspection screenshot | Empty hero, missing H1 | Full hero and headline |
| Rendered HTML | Text present but styled invisible | Text present and visible |
| Snapshot consistency | Changed between tests | Stable |
| Indexing behaviour | Slow on commercial pages | Back in line with the rest of the site |
Note: We tracked this through rendering and indexing signals first, because rankings cannot move until Google can read the page. Ranking and lead impact is a longer measurement, and we are still monitoring it.
A JavaScript SEO Checklist You Can Run Today
You can test for this problem in about ten minutes, without developer access.
- Run URL Inspection in Google Search Console. Use "Test live URL", then view the screenshot and the rendered HTML.
- Compare the screenshot against the real page. Missing headings or blank hero areas are your first warning.
- Search the CSS for
opacity: 0andvisibility: hidden. Check whether they apply to H1s, hero text or primary copy. - Turn off JavaScript in your browser. If key content vanishes or stays faded, Google may see the same thing.
- Check your animation library. Scroll-triggered reveals from libraries like AOS or GSAP ScrollTrigger often start content hidden.
- Look at the first mobile screen. If it is mostly empty space, tighten the hero.
This matters beyond Google. Most AI crawlers read the raw HTML and do not run your JavaScript, so a page that depends on scripts to reveal its content is a weak source for AI answers too. We cover that side in our guide to how AI crawlers affect SEO.
Which Businesses This React SEO Problem Affects
This issue hits any team that ships motion-heavy marketing pages, whatever the framework. The ones we see most often:
- B2B SaaS and software companies with React, Next.js or Astro marketing sites, where design teams love scroll reveals
- Fintech and payments brands whose premium, animated landing pages carry high-value commercial keywords
- UAE and GCC service businesses investing in luxury-feel websites for Dubai, Abu Dhabi and Riyadh audiences
- Agencies and startups on Webflow or Framer, whose built-in interactions often set elements to zero opacity before they animate
- Multi-country brands with location pages, where one broken template can hide content on dozens of country pages at once
If your site looks premium but your service or location pages index slowly, put this check near the top of your technical SEO audit.
Want us to check your site?
SEOvengers runs rendering-focused technical SEO audits for React, Astro, Next.js and Webflow sites across India, the UAE, the UK and the US.
Prefer WhatsApp? Message us at +91 9055510234.
Frequently Asked Questions: React SEO
Is React bad for SEO?
No. React SEO problems come from how a React site renders and styles its content, not from React itself. Server rendering or static generation solves most issues, but as this case shows, CSS animation states can still hide content that is already in the HTML.
Can Googlebot see content hidden with opacity 0?
Googlebot can read text styled with opacity: 0, but it renders a snapshot without scrolling, so content waiting on a scroll-triggered animation often stays invisible in that snapshot. Hidden text may also carry less weight than visible text, so keep primary content visible by default.
Is Astro SEO friendly for business websites?
Yes. Astro SEO is strong out of the box because pages ship as static HTML with minimal JavaScript. You still need visible-by-default styling, clean headings and proper metadata, since the framework cannot stop a design choice from hiding your content.
How do I check if Google can see my JavaScript content?
Use URL Inspection in Google Search Console and run a live test. Compare the rendered screenshot and HTML with what users see, then disable JavaScript in your browser for a second check. Any content that disappears is a JavaScript SEO risk.
How long does indexing take after a JavaScript SEO fix?
It varies with crawl frequency and page importance. In this case the rendered snapshots improved within about 72 hours after we requested re-crawls, but lower-priority pages can take weeks. Requesting indexing for key URLs speeds it up.
Should I remove animations to improve React SEO?
No. Keep the animations, but make them enhance content that is already visible. Apply hidden starting states with JavaScript at runtime, never as the default CSS, and respect users' reduced-motion settings.
Final Thoughts
The uncomfortable truth in this React SEO case study is that nothing was technically "broken". The robots file was fine. The framework was fine. The content was in the HTML. One design decision, starting important text at zero opacity, was enough to make Google hesitate on the pages that mattered most.
Technical SEO now lives in the gap between design, front-end code and how crawlers render. If your site looks finished to people but underperforms in search, check what Google actually sees before you rewrite a single word of content. For another example of Google seeing something different from your visitors, read how we fixed pages not getting indexed for 3 months, or browse all our SEO case studies.
Ready to find out what Google sees on your site?
Get a free rendering and technical SEO audit from SEOvengers.
Prefer WhatsApp? Message us at +91 9055510234.

