npm formik 2.0.1-rc.13

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

Improvements

  • Field registration has been moved into useField(). This means that you can now pass useField() a field-level validation function.
    const [field, meta] = useField({ name: 'boop', validate: (value) => ({  /* ... */ }) })
  • Added checkbox and async submit examples to Storybook
  • Added a security policy to project (see: SECURITY.md)

Bugfixes

  • Fixed invariant logic around warning when Formik context is undefined
  • Fixed issue when Calling API too soon will yield error Cannot call an event handler while rendering despite using React.useEffect (#1763)

Internal

  • Switched from CircleCI to GitHub CI + GitHub Actions

Commits

v2.0.1-rc.12...v2.0.1-rc.13

Don't miss a new formik release

NewReleases is sending notifications on new releases.