Beignet API reference
    Preparing search index...
    • Create a React Hook Form adapter factory.

      Mirrors the React integration pattern used by createReactQuery() and createNuqs(): create the adapter once, then bind individual contracts with rhf(contract). Contracts must declare a body schema. After binding, callers may override or disable the generated resolver through formOptions(...) or useForm(...).

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