✨ new resetField
API
const { resetField } = useForm();
resetField('test')
resetField('test', {
keepError: true,
keepDirty: true,
keepTouched: true,
defaultValue: 'test1',
})
🧢 close #6928 prevent schema error before user's action (#6929)
🧹remove createSubscription
and createSubscriber
to reduce size (#6880)
✌🏻 improve react strict mode support with subscription
✌🏻 improve useController
by integrating with useWatch
✌🏻 package size-reduction (close to 1%)
✌🏻 internally removed skipEarlySubscription