Skip to content

v3.3.0

Compare
Choose a tag to compare
@erikras erikras released this 12 Apr 13:12
· 335 commits to master since this release

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().