formik
formik copied to clipboard
Make formik sync when validation functions are sync
When the given validation function are synchronous there is no reason to make them async. Making them async actually makes the whole code much slower and creates unecessary re-renders.