vike-react + suppressHydrationMismatch #3109
Replies: 1 comment 2 replies
-
|
Hi Craigory, that's quite unexpected because React doesn't render the So I wouldn't know why React would log an hydration mismatch here. Does the hydration warning come from React or from some other tool? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 👋 - I'm using a theming approach that applies a data-theme tag to the
htmltag, before react hydrates. This causes a hydration mismatch error.I wanted to apply suppressHydrationMismatch on the html tag itself, but can't access that without ejecting from vike react. I've decided to ignore the warning in the console for now, but I'm not sure what the best way around this is.
Beta Was this translation helpful? Give feedback.
All reactions