# Function: useLinked()

```ts
function useLinked<T>(
   spaceId, 
   key, 
   options?
): 
  | readonly NodeRecord<T>[]
  | undefined;
```

Defined in: [packages/react/src/use-space.ts:31](https://github.com/leifriksheim/minca/blob/main/react/src/use-space.ts#L31)

The records whose current version points at this one — optionally in one role, or one collection.

## Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| <a id="type-parameter-t"></a> `T` | `unknown` |

## Parameters

| Parameter | Type |
| ------ | ------ |
| `spaceId` | `string` |
| `key` | `string` |
| `options?` | \{ `collection?`: `string`; `rel?`: `string`; \} |
| `options.collection?` | `string` |
| `options.rel?` | `string` |

## Returns

  \| readonly [`NodeRecord`](https://minca.dev/api/core/interfaces/NodeRecord.md)\<`T`\>[]
  \| `undefined`
