@refinedev/react-hook-form
TypeScript icon, indicating that this package has built-in type declarations

4.8.16 • Public • Published


refine is an open-source, headless React framework for developers building enterprise internal tools, admin panels, dashboards, B2B applications.

It eliminates repetitive tasks in CRUD operations and provides industry-standard solutions for critical project components like authentication, access control, routing, networking, state management, and i18n.

React Hook Form integration for refine

React Hook Form is one such library that helps to manage complex forms.

refine is headless by design, offering unlimited styling and customization options. Moreover, refine ships with ready-made integrations for Ant Design, Material UI, Mantine, and Chakra UI for convenience.

refine has connectors for 15+ backend services, including REST API, GraphQL, and popular services like Airtable, Strapi, Supabase, Firebase, and NestJS.

Installation & Usage

npm install @refinedev/react-hook-form react-hook-form
import { useForm } from "@refinedev/react-hook-form";

const EditPost = () => {
  const { register, handleSubmit, formState, refineCore } = useForm({
    refineCoreProps: {
      resource: "posts",
      id: "1",
    },
  });

  return; /* ... */
};

Documentation

Dependencies (3)

Dev Dependencies (11)

Package Sidebar

Install

npm i @refinedev/react-hook-form

Weekly Downloads

8,762

Version

4.8.16

License

MIT

Unpacked Size

145 kB

Total Files

38

Last publish

Collaborators

  • aliemirsen
  • willico
  • alicanerdurmaz
  • pankodbot
  • omerfarukaplak