react-final-form v6.1.0 Release Notes
Release Date: 2019-06-11 // almost 5 years ago-
🆕 New Features
- 👍 Allowed swappable final-form APIs #520
- 🍱 💥 Strongly typed form values for Flow and Typescript 💥 #516
Usage:
import { withTypes, Field } from 'react-final-form'type MyValues = { email: string, password: string}const { Form } = withTypes\<MyValues\>() \<Form onSubmit={onSubmit}\> {({ handleSubmit, values }) =\> { // values are of type MyValues }} \</Form\>
Housekeeping