solid-styled-components icon indicating copy to clipboard operation
solid-styled-components copied to clipboard

Using solid-start show "Unrecoverable Hydration Mismatch"

Open x64Bits opened this issue 3 years ago • 1 comments

I have recently redesigned the web to explore icons for solid-icons and decided to use solid-start since I recently added support and I like the result.

I also used solid-styled-components but when updating the dependencies to be able to use the vercel adapter, it throws me this message only when use "dev" command.

I was tracking the problem and it seemed to come from the use of Dynamic in solid-styled-components but I'm not sure about this at all, if someone could give me more clarity on why this may be happening I would appreciate it.

The feat/redesign branch of the solid-icons-web repository serves to reproduce the problem I'm talking about, cheers!

x64Bits avatar Sep 09 '22 02:09 x64Bits

This definitely seems like an issue with this library. Everything rehydrates properly until you throw in a styled component.

onionhammer avatar Dec 16 '22 15:12 onionhammer