Skip to content

use/useReactiveHookRegistry ​

Overview ​

A composable that allows registering boolean hooks for named groups, aggregating hooks for the same group into a single computed value.

Methods ​

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

Types ​

ReactiveHookRegistry ​

AggregatorFn ​

AggregatorFn = (values: any[], group: string) => any

BoundRegisterHook ​

BoundRegisterHook = (group: string, hookFn: () => boolean) => string

BoundUnregisterHook ​

BoundUnregisterHook = (id: string) => boolean

ComputedAggregates ​

ComputedAggregates = Reactive

Source ​

client/lib/use/useReactiveHookRegistry.js:1