react hook form vs formik #3004
-
Hi everyone |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
short answer: https://react-hook-form.com/faqs#ReactHookFormFormikorReduxForm We are not aginst react recommendation for building component controlled, however building forms over the years and I start to realize the native (uncontrolled) form is just fine or even better in the most use cases. especially simplicity, performance, and scalable for large and complex forms. now you still can build controlled inputs at React Hook Form by leveraging Controller: https://react-hook-form.com/api#Controller There are cases where controlled forms make sense, but I find less the case, more of a controlled component. |
Beta Was this translation helpful? Give feedback.
-
I have used recently both libraries on a project, some of the important things to consider when choosing a form library are( personally I prefer to use react-hook-form ):
|
Beta Was this translation helpful? Give feedback.
-
one of my concerns for migrating fully to |
Beta Was this translation helpful? Give feedback.
short answer:
we support both uncontrolled/controlled. more to read here:
https://react-hook-form.com/faqs#ReactHookFormFormikorReduxForm
We are not aginst react recommendation for building component controlled, however building forms over the years and I start to realize the native (uncontrolled) form is just fine or even better in the most use cases. especially simplicity, performance, and scalable for large and complex forms. now you still can build controlled inputs at React Hook Form by leveraging Controller: https://react-hook-form.com/api#Controller There are cases where controlled forms make sense, but I find less the case, more of a controlled component.