T
TanStack4mo ago
rising-crimson

HydrationError on globalCss import

I followed the basic example and loading in my global.css gives me a hydration error
import globalCssUrl from "@/styles/globals.css?url";

links: [
{ rel: "stylesheet", href: globalCssUrl },
...
import globalCssUrl from "@/styles/globals.css?url";

links: [
{ rel: "stylesheet", href: globalCssUrl },
...
<Asset tag="link" attrs={{rel:"style...", ...}}>
+ <link
+ rel="stylesheet"
+ href="/_build/app/styles/globals.css?t=1746712784608"
+ suppressHydrationWarning={true}
+ >
- <meta charset="utf-8">
...
<Asset tag="link" attrs={{rel:"style...", ...}}>
+ <link
+ rel="stylesheet"
+ href="/_build/app/styles/globals.css?t=1746712784608"
+ suppressHydrationWarning={true}
+ >
- <meta charset="utf-8">
...
2 Replies
rising-crimson
rising-crimsonOP4mo ago
Bump
compatible-crimson
compatible-crimson4mo ago
we have an open GitHub issue for this I think

Did you find this page helpful?