Open rajks24 opened 1 year ago
this issue occurs for npm run dev
, and not for npm run build
. The issue was resolved after adding suppressHydrationWarning
in layout Eg: <html lang="en" suppressHydrationWarning>
. Seems occurs as needed because using next-themes .
Hello, how can I solve this problem?
Same warning here.
This issue still exists
+1 to the issue
Still exists.
The issue is fixed after adding suppressHydrationWarning
in layout Eg: <html lang="en" suppressHydrationWarning>
It is also part of the documentation in shadcn, I in the dark mode section
The issue is fixed after adding
suppressHydrationWarning
in layout Eg:<html lang="en" suppressHydrationWarning>
It is also part of the documentation in shadcn, I in the dark mode section
I think it should be at least mentioned in the docs. The suppressHydrationWarning
is not even highlighted, it's hard to spot the first time.
Still exists. In the Dark Mode
+1 issue
Hiding
The issue is fixed after adding
suppressHydrationWarning
in layout Eg:<html lang="en" suppressHydrationWarning>
It is also part of the documentation in shadcn, I in the dark mode section
I guess hiding warnings is considered a solution these days.
Issue : getting warning in console for Extra attributes from the server: class,style
template version: "version": "0.1.0"
Description:
Getting warning when run
npm run dev
in browser console