Which project does this relate to?
Start
Describe the bug
Some tags appear to be duplicated during hydration, even though the server has sent them correctly if we look at them with view-source:[url]
Your Example Website or App
https://stackblitz.com/edit/github-zpekad3w?file=src%2Froutes%2F__root.tsx
Steps to Reproduce the Bug or Issue
- run
npm run build
- start production server
npm run start
- open production URL
- check
elements tab on browser dev tools, the see application/ld+json script
It looks like there are 2 even though I only inserted 1. The duplicate tag appears without content.
Expected behavior
Hydration should produce matching elements according to the head content sent by the server.
Screenshots or Videos
No response
Platform
- Router / Start Version: 1.157.18
- OS: Linux
- Browser: Chrome
- Browser Version: 144.0.7559.110
- Bundler: vite
- Bundler Version: 7.3.1
Additional context
No response