Hydration Mismatch Hunt

Find why server-rendered HTML and the first client render disagree, and fix the cause rather than the warning: diff the raw server HTML from curl against the parsed DOM and the first client render, never the final DOM, then check the five usual sources (time, randomness or locale read during render; typeof window branches; invalid nesting the HTML parser repairs; nodes injected by browser extensions; per-request data the client never receives) and move the value into serialised props or an effect. Use when someone says "Hydration failed because the initial UI does not match", "text content did not match", "the page flashes then changes", "Minified React error 418" or "hydration errors only in production". Not for a client bug with no server render (debugging), pages search engines miss (web-app-seo), or stale responses overwriting newer ones (async-ui-races).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 43f6fe48c0

Frequently asked questions

npx get-skill add greenblacked/hydration-mismatch-hunt