React
React hydration failed because server and client output differed
React detected a server-rendered tree that did not match the client render, so hydration failed and the subtree had to be regenerated on the client.
React
React detected a server-rendered tree that did not match the client render, so hydration failed and the subtree had to be regenerated on the client.
Observed message
Hydration failed because the server rendered output did not match the client.
Why it happens
How to fix it
Official reference
React Docs: Minified React error #418Related errors
Explore more