Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 571 Bytes

useFormSelector.md

File metadata and controls

33 lines (17 loc) · 571 Bytes

@lynxts/coreDocs


@lynxts/core / useFormSelector

Function: useFormSelector()

useFormSelector<T, V>(selector): V

A hook to select a value from the form FormCtxt<T>.

Type Parameters

T extends Struct

V

Parameters

selector

a function to select a value from the context

Returns

V

the selected value

Defined in

Form.context.ts:222