tailwind v4.0.0-beta.7 react hydration error with react-router v7 #15422
Replies: 5 comments 5 replies
-
Beta Was this translation helpful? Give feedback.
-
|
I tried this change: from It worked, and I believe this might solve the issue. See this remix-run/react-router-templates#75 |
Beta Was this translation helpful? Give feedback.
-
|
Upgrading |
Beta Was this translation helpful? Give feedback.
-
|
But what if I want setup like that? |
Beta Was this translation helpful? Give feedback.
-
|
I have a similar problem. If I use the standard component from react-router v7 and import tailwind.css however I want, whether it's the Here's the error |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
What version of Tailwind CSS are you using?
v4.0.0-beta.7
What build tool (or framework if it abstracts the build tool) are you using?
react-router v7
vite v5.4.1
What version of Node.js are you using?
v22.11.0
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction URL
https://github.com/sialex-net/rr7-tailwindcss4-beta
Describe your issue
Upgrading tailwindcss to v4-beta causes Minified React error #418 when serving build via wrangler
https://react.dev/errors/418?args[]=
Hydration error does not occur when serving on vite dev server.
Same error occurs with node runtime version of react-router.
Side effect import resolves error.
Beta Was this translation helpful? Give feedback.
All reactions