# Hydration Errors Diagnose and fix React hydration mismatch errors. ## Error Signs - "Hydration failed because the initial UI does not match" - "Text content does not match server-rendered HTML" ## Debugging In development, click the hydration error to see the server/client diff. ## Common Causes and Fixes ### Browser-only APIs ```tsx // Bad: Causes mismatch - window doesn't exist on server
Nested
// Good: Valid nestingContent