React website review, what crawlers and shared links see before your app loads

A React website review starts with the file most owners never open, the index.html your server sends before any React code runs. In a single page app built with Vite or Create React App, that file is close to empty. It holds a title, maybe a description, one empty div and a script tag. Everything a visitor reads arrives later, drawn by JavaScript in the browser.
For a signed in tool, that is fine. For the pages that have to win strangers from Google or a shared link, it decides what they see before they decide to click. The checks below are for those public pages.
What does a crawler see on a React single page app?
A crawler that does not run JavaScript sees the empty shell and nothing else. Google’s JavaScript SEO guide says Google renders JavaScript, but it also says “not all bots can run JavaScript” and that rendering on the server or prerendering “is still a great idea”. The Vue team’s documentation makes a related point for apps of any kind, that a crawler will not wait for a loading spinner and a data fetch to finish.
Check it in two minutes. Open your homepage, right click and choose View Page Source, then search for your headline. If it is not there, any crawler that skips JavaScript meets a blank page. Then switch JavaScript off in your browser’s site settings and reload. What you see is what those crawlers get.
The React team itself now points new sites elsewhere. In February 2025 it deprecated Create React App for new apps, said it has no active maintainers, and recommended a framework, or a build tool such as Vite, Parcel or Rsbuild for projects that need neither. Its rule of thumb is that an app which needs routing would probably benefit from a framework. If your marketing pages live inside the app, moving them to a framework with prerendering, or to a separate static site, is the fix I would price first. Next.js is one such framework, and the Next.js website review covers its own files.
Does each React route have its own title?
In React 19 you can render a <title> or <meta> tag from any component, and React moves it into the document head. That makes a title per route a one line job inside each page component. Google’s guide confirms that JavaScript can set or change the title and meta description.
The React docs add two rules that catch people out. Render only one <title> at a time, because if two components render one, React places both in the head and browsers and search engines behave unpredictably. The title’s children must also be a single string, so Results page {pageNumber} written as two parts causes an error, while a template string works.
Check by clicking through your site and reading the browser tab. If the tab says the same thing on the homepage, the pricing page and the contact page, every route is sharing the title from index.html. In Google results, that looks like one page repeated.
Why do links to your React site all show the same preview?
Share previews come from the Open Graph tags in the HTML, and a single page app usually has one set, written once in index.html. Change them in JavaScript and a visitor’s browser sees the new ones. A link preview bot may never run that JavaScript, which is the “not all bots” warning in Google’s guide applied to chat apps and social networks.
Paste three different pages into a private chat with yourself. If all three cards show the homepage title and image, every product, post and offer you share is being advertised as your homepage. The fix is to serve real HTML for public routes, by prerendering them at build time or rendering them on a server. A script that swaps tags after load does not reach a bot that skips scripts.
Why does every broken URL on your React site return a page?
Most single page app hosts are set to answer every unknown address with index.html, so a typo returns your app and a 200 status instead of a 404. React Router can then show a not found screen through a catch all route with the path *, but the server has already said the page exists. Google calls this a soft 404.
Google’s guide gives two fixes for client side routing. Use a JavaScript redirect to an address for which the server returns a real 404 status, or add <meta name="robots" content="noindex"> to the error page with JavaScript. Either one keeps dead addresses out of search results.
The same guide warns against addresses built on a #. It says single page apps should route with the History API and should not use fragments to load different content. If your pages look like yoursite.com/#/pricing, search engines treat them as one page.
Open a made up address such as /no-such-page on your live domain. You should see a helpful page with your menu, and your developer should be able to confirm the status code it returns.
How much JavaScript does your React site send before anything shows?
A single page app cannot show its first screen until the browser has downloaded and run enough JavaScript to draw it. Every library added for one feature, a chart, a date picker or an animation kit, sits in that download unless it is split out. On a mid range phone with a weak signal, that wait is where visitors leave.
Vite flags large files for you. Its build.chunkSizeWarningLimit defaults to 500 kB, measured before compression, and the docs tie it to execution time. If your build prints that warning, the homepage is likely carrying code it does not need.
React’s lazy function loads a component’s code only when it is first rendered. Wrapping the dashboard, the editor and other heavy screens in lazy keeps them out of the first download, so a stranger reading your homepage is not paying for screens they will never open. Ask whoever builds the site for the build output, and compare the biggest file with the 500 kB line.
Which API keys does a React website review find in the bundle?
In a Vite project, any variable that starts with VITE_ is written into the JavaScript every visitor downloads. Vite’s docs say these variables should not contain sensitive information such as API keys, and suggest a server or serverless function for anything secret. Payment keys, admin keys and database passwords with that prefix are public the moment you deploy.
Source maps are the second leak. Vite’s build.sourcemap option defaults to false. If someone switched it to true to debug production, your original source, comments included, can be served beside the site. Open your browser’s developer tools, look at the Sources panel on the live site, and see whether your own file names and folders appear.
A key that was ever public should be replaced at the provider, not just moved. Removing it from the code does not remove it from copies already downloaded. AI builders produce this pattern often, and the vibe coded app checklist covers the wider launch list.
What does a React website review from Roast check?
Roast checks public pages in a browser on desktop, tablet and phone, scores them out of 100. The fix list is ranked by cost, with a ready prompt for each fix. It sees a headline that only appears after a long wait, the same title on every page, a share card that never changes and a dead address that returns your homepage.
It cannot read your repository, your database, your hosting settings, your emails or your payment setup. It will not tell you which variables you named VITE_ or whether row rules protect each customer’s data. If your React project is an app people sign in to, the $20 instant app review reads it from GitHub to identify issues in the code. It does not test sign up as a customer.
You can read a finished example in the sample roast report. When you want a score, roast your React site for free with no sign up, then buy the full $5 roast when you want every fix.
My pick is to view source on your homepage tonight. If your headline is not in it, start there.
Find out what is putting your customers off.
Sources
React documentation
Vite and React Router documentation
- Vite build options, sourcemap and chunkSizeWarningLimit
- Vite env variables and modes
- React Router routing, splats
Other sources