Beignet API reference
    Preparing search index...

    Function createReactForm

    • Create a TanStack Form adapter factory.

      Mirrors the React integration pattern used by createReactQuery() and createReactHookForm(): create the adapter once, then bind individual contracts with rf(contract). Contracts must declare a body schema whose input is object-shaped. After binding, formOptions(...) and useForm(...) install the body schema as a Standard Schema validator in the async slot chosen by validateOn.

      Returns <TContractLike extends ContractLike>(
          contract: ReactFormContract<TContractLike>,
      ) => ReactFormContractAdapter<ResolveContract<TContractLike>>