react-hook-form / core

Framework agnostic hook form core lib

Home Page:https://react-hook-form.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Framework agnostic hook form core lib

https://react-hook-form.com/

License:MIT License


Languages

Language:TypeScript 98.5%Language:JavaScript 1.5%