SSR Hydration issue on Remix V2 Meta Application LD Json tag #9365
Unanswered
Eliotboutet
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm having Hydration issues on my remix project.
I'm using Remix v2.8 and Vite v5.1.6 for my server, running on Node 20.
I'm trying to add an application/ld+json script tag to one of my page like this :
export const meta: MetaFunction = () => { return [ { "script:ld+json": { "@context": "https://schema.org", "@type": "Organization", name: "Remix", url: "https://remix.run", }, }, ]; };
However when I run my server, I get this error in the console :
Prop
typedid not match. Server: "text/javascript" Client: "application/ld+json"
Has someone already seen this behaviour?
Thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions