'React formik Form rendering Speed is slow issue

I am using react formik the form have more 30 input field that field render are slow when typing print slow and easer Slightly slow any idea for improve the field speed. please check in codesandbox

code Sandbox Link :https://codesandbox.io/s/goofy-bassi-5s0c9?file=/src/App.js



Solution 1:[1]

I have the same issue. But it will disappear when you build and deploy to server

Solution 2:[2]

Another workaround is to set validateOnChange to false on the <Formik> tag.

<Formik
  validateOnChange={false} // Add this line
  initialValues={{ ... }}
  validationSchema={validationSchema}
>

Some references: https://github.com/jaredpalmer/formik/issues/2296 https://github.com/jaredpalmer/formik/issues/2542

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Viet
Solution 2 Tittoh