{
  "id": "react-usesyncexternalstore-table",
  "kind": "table",
  "slug": "react-usesyncexternalstore",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/react-usesyncexternalstore/",
  "title": "Subscribe to an external store with useSyncExternalStore",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "subscribe",
      "source": "React docs",
      "detail": "Subscribe and return an unsubscribe function"
    },
    {
      "name": "getSnapshot",
      "source": "React docs",
      "detail": "Return the current store value"
    },
    {
      "name": "getServerSnapshot",
      "source": "React docs",
      "detail": "Snapshot used when rendering on the server"
    },
    {
      "name": "useOnlineStatus",
      "source": "React docs",
      "detail": "Example that uses online and offline listeners"
    }
  ],
  "related_slugs": [
    "react-state",
    "react-effects",
    "react-when-not-to-use-effect"
  ],
  "license": "CC-BY-4.0",
  "source_license": "CC-BY-4.0 (React docs); CC-BY-4.0 (React 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."
}