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\>
    

    Edit Strongly Typed Form Values with 🏁 React Final Form

    Housekeeping

    • ✂ Remove context export #515
    • ✅ Simplify slightly logic around keeping latest value in ref #513

    v6.0.1...v6.1.0