# useComments

**Kind:** Function

**Source:** [`atloria-monorepo/packages/ui-react/src/hooks/useComments.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/ui-react/src/hooks/useComments.ts#L61)

useComments - Hook for comment management with real-time updates

Provides comment state and operations with WebSocket support.

## Signature

```ts
function useComments(options: UseCommentsOptions): UseCommentsReturn
```

## Parameters

| Name | Type |
|---|---|
| `options` | `UseCommentsOptions` |

**Returns:** `UseCommentsReturn`
