v3.3.0
API Deprecation
Deprecated the render props following given by Form
and FormSpy
:
batch
blur
change
focus
initialize
mutators
reset
They can all now be found under the form
prop, which is the full FormApi
provided by 🏁 Final Form. This way, if the 🏁 Final Form API changes, 🏁 React Final Form does not necessarily need to be updated. It also gives you much more control as the library user.
All of these deprecations will now generate warnings in development, and will be removed from the next major release.
Migration
Any place you were using props.change()
, you will need to change it to props.form.change()
.