Hydratation error - different order of styles vs classes in props #81022
Replies: 1 comment 4 replies
-
I wanna say that the order of attributes in the HTML shouldn't necessarily cause hydration errors, right? I'd go first after the divergent This can happen with
I wonder if your have feature flags, or conditional context providers applies given some client side data? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
We are getting Hydratation errors on our page. The error is because server is sending in the props styles first and classes second. Client has first classes and style second. See the attached images.
This error started when we updated to the latest version of NextJS 14.2 ("next": "14.2.30",) from version 14.2.8 or something.
This is happening to just:
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions