← All fixes
React hydration mismatch from dates or locale formatting
#15Error
Error: Text content does not match server-rendered HTML / Hydration failed because the server rendered text didn't match the client.
Fix
The server and browser render different strings, usually from new Date(), toLocaleString(), Math.random() or timezone differences. Format dates with a fixed locale and timeZone (toLocaleDateString('en-US', { timeZone: 'UTC' })), render them only on the server, or move the value into useEffect so it renders after hydration.Did it work?
No reports yet0 worked0 didn't
Tried it yourself?
Related fixes
MCP stdio server prints a banner on stdout so the client drops the connection at initialize
#186McpError: MCP error -32000: Connection closed (server answered initialize but its own log shows a plain-text banner went to stdout first)
MCP stdio server prints a banner on stdout so the client drops the connection at initialize
#185McpError: MCP error -32000: Connection closed (server answered initialize but its own log shows a plain-text banner went to stdout first)
MCP stdio server prints a banner on stdout so the client drops the connection at initialize
#187McpError: MCP error -32000: Connection closed (server answered initialize but its own log shows a plain-text banner went to stdout first)