Hex Core JS
    Preparing search index...

    Function useFormState

    • Stores and provides the core state of a form. Most functionality should be wrapped by specific fields (in useFieldState).

      Type Parameters

      Parameters

      • initialFormValues: UseFormStateArgs<FV>

        The initial values of the form. Can be the values or a function that returns the values. The identity of initialFormValues does not need to be kept stable.

      Returns FormState<FV>