Answer the question
In order to leave comments, you need to log in
Is there a better package for creating and validating React forms than Formik + Yup?
I came across a project on Formik + Yup, where I found crutches in the form of passing key=updateView props to child elements (not inside .map), which is incremented when fields change, as well as using debounce before onChange. The whole thing slowed down during development, but there were no brakes in the build. When porting the project to TypeScript, I had to mow {field, meta}, because their types are not defined, and instead pass getFieldMeta + getFieldProps through props, or use the useFormik () hook, but both options are unsatisfactory, because they make too many re-renders and now brakes are even in the build.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question