nfl / react-helmet

A document head manager for React
MIT License
17.35k stars 660 forks source link

Description is not added consistently #331

Open elverskog opened 6 years ago

elverskog commented 6 years ago

This may be a real edge case and specific to my build. I have a page where the description is not added consistently. I've tried editing the page, stripping it down, stripping the title/description down but the behavior is never consistent. Sometimes the description will appear in the static file. Sometimes it won't. For now I am editing that static HTML file manually before publishing it. Let me know if you want any more info.

EmilTholin commented 6 years ago

Hi @elverskog!

It sounds like you have run into this problem. Do you have any asynchronous logic between your renderToString and Helmet.renderStatic()? That might be the culprit.