react-helmet icon indicating copy to clipboard operation
react-helmet copied to clipboard

meta tags not updating after receiving the data from api

Open kiranankani opened this issue 5 years ago • 3 comments

Do you want to request a feature or report a bug?

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React and react-helmet. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below:

What is the expected behavior?

Which versions of React and react-helmet, and which browser / OS are affected by this issue? Did this work in previous versions of React and/or react-helmet?

kiranankani avatar Jun 18 '20 08:06 kiranankani

Follow the Issue template and give proper behaviour expectations, links and examples and used versions.

No-one can do something on nothing. You have given virtually zero information.

AubreyHewes avatar Oct 09 '20 02:10 AubreyHewes

Im trying to populate <Helmet/> with dynamic data, ( from API ) but its not working when i share page in social networks like Facebook and Twitter, i think the purpose of Metatags are not full filling with this.

If some one has any solution please put it here.

ursnj avatar Feb 01 '21 14:02 ursnj

I was having smilar issue . i have to add some dynamic content in script tag. So i have added the property encodeSpecialCharacters={true} & onChangeClientState={(newState, addedTags, removedTags) => console.log(newState, addedTags, removedTags)} in tag. So it worked for me. it detected my DOM changes

Prema07 avatar Apr 29 '21 13:04 Prema07