Skip to content

SEO meta tags are being duplicated when using dynamic data #12

Open
@nir2002

Description

I built https://otterize.com/ using MDX files for page configuration, seo data, blog posts, etc.
The meta function for each page is using the loader data (coming from MDX) and set the title and meta tags using it.
a few days ago I installed remix-island solution and since then the meta tags are being duplicated, leaving the first title visible (the first page) unless refreshing

I compared my remix-island solution to 3 more project I have with Remix, all work perfect, the difference is that this is the only project I'm using the loader data for the meta functions (using the data parameter)

Any idea?
Its also worth to mention that this is not happening on local development, it only do on production.
Also, I found a bug very similar in this GitHub issue:
remix-run/remix#1028

Thank you 🙏

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions