Skip to content

2.0.0

Compare
Choose a tag to compare
@bluebill1049 bluebill1049 released this 29 Mar 04:59
· 3384 commits to master since this release

Breaking change on register

after this awesome suggestion from #11

i have update the register API to be much simpler

example

ref={register}
ref={register({ required: true })}

read more from https://react-hook-form.now.sh/api register section.