{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "use-mounted",
  "files": [
    {
      "path": "src/registry/hooks/use-mounted.ts",
      "content": "import * as React from 'react';\n\nconst subscribe = () => () => {};\nconst getSnapshot = () => true;\nconst getServerSnapshot = () => false;\n\nexport function useMounted() {\n  return React.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n}\n",
      "type": "registry:hook"
    }
  ],
  "type": "registry:hook"
}