Skip to content

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

NameTypeRequiredDescription
aggregatorFnAggregatorFnyesA function that aggregates the values of the hooks.

Returns

ReactiveHookRegistry

The reactive hook registry.

Source

client/lib/use/useReactiveHookRegistry.js:152

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2