Improvements 🎉
- Late Registration:
<Field>
and<FastField>
now "register" with the parent<Formik>
duringcomponentDidMount()
instead of incomponentWillMount
/constructor
. This change also ensures that Formik is React Fiber ready. <FastField>
will now rerender whenisSubmitting
changes
Bug Fixes 🐛
- Added support for TypeScript 3.1.1 and @types/react 16.4.x #898. Formik is not friendly with TS 3.0 because of a known issue with type inferencing 🤷♂️ . The official solution is to upgrade to TS 3.1.1.
- Bumped a lot of deps internally
- Fixed bug in
<FieldArray>
when changing indexes wheretouched
was incorrect - Lots of docs updates
- Updated examples for React Native and MultiStep
Commits
- Version the docs for 1.3.1 5920a82
- Bump deps, fixes @types/react 16.4 (#898) f58f85a
- Add missing ErrorMessage import in docs overview (#949) b3fadb7
- Fix missing variable reference for field API (#948) 23ef6ce
- Add proper descriptions for custom pages c89b99b
- Merge branch 'master' of github.com:jaredpalmer/formik 695b763
- Add video to overview, tutorial 41fb6f7
- Tiny copy fix for the
render
prop definition (#944) 3024758 - Alter errors and touched object on index change (#925) df6d4e5
- fixed bug changing {} to Object (#931) fffaf9b
- Fix calls to validation with outdated values (#939) 94524f1
- Add original id to resources 0259340
- Add React Alicante talk to docs 28189b0
- Make sure site is being indexed 29872a1
- Merge branch 'master' of github.com:jaredpalmer/formik 5f8189d
- Fix #934. Update edit urls on nested docs 4ce23a1
- Add
ErrorMessage
import (#933) ddb6d9c - Fix minor things in docs (#932) 49e6623
- update MultistepWizard to reset touched object on navigating to next page of a multistep form (#928) 268cc30
- yupToFormErrors accepts a single ValidationError (#917) 25c0bb5
- Use late registration (#900) 5cba633
- Fix links in docs (#927) 723ee85
- Fix typo (#922) e0d8e3f
- Rerender when isSubmitting has changed (#915) 63a87eb
- Update Snack example for React Native (#919) c2b27df
- Update examples with (#908) 6899dc5
- Fix typo 665c9b7
- Fix typo in formik.md (#901) 5092b29
- Update overview.md 77eb25d
- Added 'replace' into FieldArray (#899) 3d8407b
- Version docs to 1.3.0. Fix #894 e445c11