Formik 0.11.0 Release Candidate 1
The New stuff 💎 ✨
- Adds optional bracket path support
- Fixes TypeScript 2.6.2 issue and improves type inferencing. Thank you @weswigham and the Microsoft TypeScript team for supporting Formik. Going forward, TypeScript core now checks / smoke tests against Formik (and Apollo) to make sure that any changes are either non-breaking, or coordinated.
- Added an example to the
next
branch of how to do a multi-step form wizard.
Potentially Breaking Change ⚠️ 🚒 🚫 PLEASE READ.
dirty
(and thusisValid
) has changed due to popular demand/consensus.
Old meaning: "has any field been touched?"
New meaning: "has any field value changed?"
In the works 👷♀️ 🚧
onReset: (values: Values, bag: FormikBag<Values>)
config / prop that runs prior to a resetFormunsafe_setFormikState: (whateveryouwant: any) => void
.submitCount
: Will track number of submit attempts- An optimized version of
<Field>
that does not rerender - Add
meta
property on<Field>
. - Leverage forthcoming context API
validateForm
,isValidating
Future 👀 ⏭
- softSubmit, handleSoftSubmit?
- async render funsies