🐛 Bug Fixes
- fixed an issue where globally registered component won't render with
as
prop #3014
💥 Breaking But Cool Changes
Deprecated the reset
methods on Field
, Form
components, and useField
and useForm
functions, instead added a new:
resetField
on<Field />
anduseField
resetForm
on<Form />
anduseForm
The new methods offer new DX improvements over the old reset
API, including an automatic reset of values and the ability to change the initial values.
This is probably the last of the breaking changes and hopefully I will be releasing 4.0
very soon.