Skip to content

Framework agnostic hook form core lib

License

Notifications You must be signed in to change notification settings

react-hook-form/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 13, 2023
41fc7ec Β· Feb 13, 2023

History

11 Commits
Feb 13, 2023
Feb 13, 2023
Feb 13, 2023
Feb 13, 2023
Feb 13, 2023
Feb 13, 2023
Feb 13, 2023
Feb 12, 2023
Feb 13, 2023
Feb 13, 2023
Feb 13, 2023
Feb 13, 2023
Feb 13, 2023
Feb 13, 2023
Feb 13, 2023

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

Sponsor this project

Packages

No packages published