stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.04k stars 389 forks source link

og meta tags being updated but not working while I share on social media even after using react-snap #540

Open KaramveerSidhu opened 2 years ago

KaramveerSidhu commented 2 years ago

I am using create-react-app with react-helmet and react-snap What I am trying to achieve is different og meta tags, example- og:title, og:description should be different on different routes.

However, what happens is that the og meta tags remain as same of the Home page on every page even after using react snap and react-helmet when I actually share my website's link on social media?

Can anyone please help...?

akanz commented 2 years ago

Heyy did you find a solution cause I'm currently experiencing the issue atm. I'm on the verge of switching the entire app to Nextjs and this will take a while.. It would be nice if I can find a quick fix

BlazeIsClone commented 2 years ago

I've been facing the same issue as well react-snap doesn't seem to pre-render the document head with react helmet.

HakanSungur commented 1 month ago

Same problem for me.