v0.11.0-rc.1
jaredpalmer
released this
29 Jan 21:04
·
1476 commits
to main
since this release
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