Releases: final-form/react-final-form
Releases 路 final-form/react-final-form
v3.6.0
New Features
- New
formatOnBlur
prop that will causeformat
to only be run when a value is blurred. This is hugely useful for formatting numbers, where you want a user to be able to type"3."
on their way to"3.14"
without having theformat
function erase the decimal point in formatting. #274 #187
v3.5.2
v3.5.1
v3.5.0
v3.4.2
v3.4.0
Type Fixes
Performance Improvements
- Fixed major performance problem when initially mounting a form with many fields. #236
Check out the before and after performance with relation to Formik:
You can run this performance test yourself here:
v3.3.1
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()
.