---
url: "https://vueda.dev/v3/reference/api/js/use/useReactiveHookRegistry/functions/useReactiveHookRegistry.md"
title: "useReactiveHookRegistry"
---

# useReactiveHookRegistry

## Overview

useReactiveHookRegistry is a composable function that allows you to register hooks for specific field paths.

It aggregates these hooks and provides a computed value for each field path, indicating whether any of the hooks
 return true.

## Signature

`useReactiveHookRegistry(aggregatorFn)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-aggregatorFn">aggregatorFn</span> | [AggregatorFn](/v3/reference/api/js/use/useReactiveHookRegistry/types/AggregatorFn.md) | yes | A function that aggregates the values of the hooks. |

### Returns

[ReactiveHookRegistry](/v3/reference/api/js/use/useReactiveHookRegistry/types/ReactiveHookRegistry.md)

The reactive hook registry.

## Source

`client/lib/use/useReactiveHookRegistry.js:152`
