Skip to content

react-hook-form/core

Repository files navigation

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].