useTransform

Function: useTransform()

ts
function useTransform<TFormData, TFormValidator>(fn, deps): FormTransform<TFormData, TFormValidator>
function useTransform<TFormData, TFormValidator>(fn, deps): FormTransform<TFormData, TFormValidator>

Type Parameters

TFormData

TFormValidator extends undefined | Validator<TFormData, unknown> = undefined

Parameters

fn

(formBase) => FormApi<TFormData, TFormValidator>

deps

unknown[]

Returns

FormTransform<TFormData, TFormValidator>

Defined in

packages/react-form/src/useTransform.ts:3

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.