🔥 Massive performance enhancement! #407 thanks to @barrymay @JeromeDeLeon
with this minor version, if your form is not reading attributes from formState
, then your form should receive even less re-render and free performance boost. eg:
const { register, handleSbmit } = useform();
// by default your form will not get re-render at all until submit, because your validation is onSubmit and you are not reading any formState
🐞 Properly nest getValues for defaultValue #410