react-hook-form / core

Framework agnostic hook form core lib
https://react-hook-form.com/
MIT License
124 stars 1 forks source link
form form-builder
React Hook Form Logo - React hook custom hook for form validation

Install

npm install @hookform/core

Quickstart

import { createFormControl } from '@hookform/core';

const { register, setValue } = createFormControl({
  defaultValues: {
    name: 'Bill',
  },
});

register('name', { required: true });
setValue('name', 'test');

Backers

Thanks go to all our backers! [Become a backer].

Contributors

Thanks go to these wonderful people! [Become a contributor].