every keystroke redeners the form and it slows down sooo much
For simple and small form yes, but for form that is large enough that you need to have child component it is not. You have to use a context which means that rerender will still happen on every state changes. See: https://react-hook-form.com/advanced-usage#FormContextPerformance
Although they propose a solution, you can do just the same thing with Formik as well.
9
u/simkessy Mar 02 '20 edited Mar 03 '20
Yea I'm removing Formik soon, every keystroke re-redeners the form and it slows down sooo much