You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using formik for my signup form using material UI. That form only as four input text fields, as user fills up that form, when I console log form component rendering, it is in hundreds, on just one key stroke form component renders 3 times, if user types fast it takes time to reflect it in UI. Even for Blur event, it renders 3 times, finally I kept validateOnBlur: false to somehow optimize the form. But the point is for big forms, formik will definitely create performance issues, which I am afraid of. So I request formik team to please work on optimizing the performance, I love the library, performance is only big concern.
The text was updated successfully, but these errors were encountered:
I'm experiencing similar issues. I'm wondering if you used the FieldArray component. For me, the performance is fine when the form data is a flat object, but the rerender issue becomes significant when there's an array. Using validateOnBlur circumvents the issue but has a worse UX since the error won't go away unless the user deliberately clicks away from the field.
I am using formik for my signup form using material UI. That form only as four input text fields, as user fills up that form, when I console log form component rendering, it is in hundreds, on just one key stroke form component renders 3 times, if user types fast it takes time to reflect it in UI. Even for Blur event, it renders 3 times, finally I kept validateOnBlur: false to somehow optimize the form. But the point is for big forms, formik will definitely create performance issues, which I am afraid of. So I request formik team to please work on optimizing the performance, I love the library, performance is only big concern.
The text was updated successfully, but these errors were encountered: