React app link preview not working because Open Graph tags are missing
Link preview crawlers read the HTML your server sends and do not run JavaScript. In a client-only React app, tags from React Helmet or React 19 <meta> only exist after the app loads, so crawlers see the shared index.html. Prerender or server render each route so og:title, og:description and og:image are in the first response.
Last updated
Quick fix
Open the URL in the meta tag checker or run
curl -s https://www.framer.com/ | grep og:on your own page. If no og: tags come back, crawlers cannot see them.Prerender or server render every route you share, for example with React Router framework mode or Next.js.
If you cannot do that yet, put site-wide og: tags in index.html so every link gets at least a default card.
Deploy, then share the URL again with ?v=2 so apps fetch it as a new link.
Why React previews break
The app renders in the browser. A Vite or Create React App build ships one index.html with an empty root element, and every route returns that same file.
React Helmet and react-helmet-async change the head after JavaScript runs. They only reach crawlers when the page is also rendered on the server.
React 19 moves
<meta>tags into the document head for you, but in a client-only app that still happens in the browser.The tags depend on an API call. Crawlers do not wait for fetches or loaders that run in the browser.
The image URL is relative, or points to localhost or a preview domain.

How to fix it
Check what crawlers get. Use View Source, not the Elements panel, or run
curl -son the URL and search forog:.Choose a setup that outputs HTML per route: React Router in framework mode, Next.js, or another server rendering or static build.
For a known list of pages, prerender at build time. React Router’s
prerenderoption writes an HTML file for each path you list, dynamic ones included.For pages built from live data, render on the server or at the edge and write the tags into the HTML before it is sent.
Use absolute https:// URLs for
og:imageandog:url.Deploy, check the live URL in the meta tag checker, then share it again.

Tags to put in the server HTML
og:title,og:description,og:imageandog:urltwitter:cardset tosummary_large_imagefor a large card on XOne set per page. Remove the defaults from index.html when a route renders its own tags, so crawlers do not read the wrong set.

Discord’s documentation says the tags must be in the HTML your server sends and that no code is executed, and other preview crawlers behave the same way. Google can render JavaScript, so a page can look fine in Google and still show no preview in chat apps.
Image size rules
Use a 1200 x 630 px JPEG or PNG with an absolute https URL. Keep it under 5 MB for X and small enough for WhatsApp. Check the file with the OG image size checker.
How to force a refresh
Apps cache a preview per URL, so fixing the build does not update links that were already shared. After you deploy, confirm the tags with the meta tag checker, then use the refresh tool for each app, or share the URL with a query string such as https://www.framer.com/?v=2.
Sources
FAQ
Why does React Helmet not fix my link preview?
Helmet updates the head in the browser after JavaScript runs. Crawlers read the first HTML response and leave, so Helmet only helps when the page is also rendered on the server.
Do React 19 meta tags work for link previews?
Only when the page is server rendered or prerendered. In a client-only app React adds them in the browser, and preview crawlers do not run that code.
Can a Vite React app have a different og:image per route?
Not as a plain single-page build, because every route returns the same index.html. Prerender the routes, render them on the server, or inject the tags at the edge.
Check your page, then refresh the preview
Paste your URL into the free checker to see the exact tags each app reads. Once the tags are right, use the refresh tool to clear the old preview.
Related guides
Next.js Open Graph image not working
Most Next.js preview bugs come from the Metadata API: a missing metadataBase, an openGraph object that replaces the parent one, or an image file over the limit.
Discord embed not showing or not updating
Discord fetches the page once, reads the tags in the server HTML and caches the embed for about 30 minutes. It never runs your JavaScript.
LinkedIn link preview not working or not updating
LinkedIn builds the card from four og: tags and keeps a cached copy. Fix the tags, then make LinkedIn fetch the page again with Post Inspector.