{
  "id": "react-hydration-mismatch-table",
  "kind": "table",
  "slug": "react-hydration-mismatch",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/react-hydration-mismatch/",
  "title": "Debug a React hydration mismatch between server HTML and the client",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "Incorrect nesting of HTML tags",
      "source": "React docs",
      "detail": "A <p> nested in another <p>, or a <div> or <ul> nested in a <p>. Interactive content such as an <a> must not be nested in an <a>."
    },
    {
      "name": "Browser-only APIs",
      "source": "React docs",
      "detail": "typeof window !== 'undefined', window, or localStorage in your rendering logic."
    },
    {
      "name": "Time-dependent APIs",
      "source": "React docs",
      "detail": "The Date() constructor in your rendering logic."
    }
  ],
  "related_slugs": [
    "react-effects",
    "react-conditional-rendering",
    "nextjs-error-handling"
  ],
  "license": "CC-BY-4.0",
  "source_license": "CC-BY-4.0 (React docs); MIT (Next.js docs); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}