npm formik 0.11.0-rc.1

latest releases: 2.4.6, 2.4.5, 2.4.4...
6 years ago

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 thus isValid) 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 resetForm
  • unsafe_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

Don't miss a new formik release

NewReleases is sending notifications on new releases.