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 |
|---|---|---|---|
| aggregatorFn | AggregatorFn | yes | A function that aggregates the values of the hooks. |
Returns
The reactive hook registry.
Source
client/lib/use/useReactiveHookRegistry.js:152