Should I set suppressHydrationWarning when using ThemeProvider #6449
-
<html lang='ko' suppressHydrationWarning>
...
<ThemeProvider>
...
</<ThemeProvider>
</html>
"If we use it in the root layout like this, wouldn't it turn off hydration warnings for all child components? But if we do this... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! I was looking for same problem, there is the answer that I found in the
It's located here: https://github.com/pacocoursey/next-themes |
Beta Was this translation helpful? Give feedback.
Hi! I was looking for same problem, there is the answer that I found in the
next-themes
docs:It's located here: https://github.com/pacocoursey/next-themes