Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated rich snippets #486

Open
Bacto opened this issue Nov 4, 2019 · 1 comment
Open

Duplicated rich snippets #486

Bacto opened this issue Nov 4, 2019 · 1 comment

Comments

@Bacto
Copy link

Bacto commented Nov 4, 2019

I add a rich snippet like this:

<Helmet>
<script type="application/ld+json">{
  "@context": "http://schema.org",
  "@type": "Organization",
  "url": "..."
}</script>
</Helmet>

If then, I want to replace/update the snippet, react-helmet will create a new snippet and will not replace/update the current one. So we have 2 snippets at the end.

Someone reported the same behavior here: #183 (comment)

Unfortunately I still have the issue on the beta 6.0.0

@dandv
Copy link

dandv commented May 31, 2020

Same issue here. The README clearly states "Nested or latter components will override duplicate changes", so this is an annoying bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants