Nested jsx tags inside <Link>
cause hydration error in SolidStart (SSR)
#3742
Labels
external: @solidjs/start
Related to usage of `@tanstack/solid-router` within `@solidjs/start`
package: solid-router
ssr
Everything around SSR the story
Which project does this relate to?
Router
Describe the bug
If I nest any jsx tags inside the
<Link>
tag provided by@tanstack/solid-router
(example:<Link to="/"><b>Home</b></Link>
), it causes the following error:Your Example Website or App
https://github.com/kiahjh/ts-router-solid-start-ssr-link-bug-demo/blob/master/src/routes/__root.tsx#L17
Steps to Reproduce the Bug or Issue
pnpm create solid@latest
<Link>
tag and nest some jsx in itExpected behavior
No error; for instance, a
<b>
tag should just make the content bold without causing a hydration error.Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: