My experiences with react-hook-form are in a professional capacity. We switched to react-hook-form because we were having problems with too much rendering/re-rendering. It helped out quite a bit with our rendering, and we aren't looking back at this point!
OMG, nothing comes close to react-hook-form. I have used formik, I have used a lot of form libraries, but nothing comes close to react-hook-form because of how amazingly easy to use it is. You just call a hook and you have methods at your disposal. No component to compose from, not unecessary imports. Everything is just right into the hook, you can do easy validations, and default statement. The best part is you just have to call the register function to link in the input. It is performant also, a lot performant than the alternatives. The typescript support is just insane. The documentation is amazing, and guides are also helpful, specially with third party libs. I think this is the best form lib in the ecosystem right now.
This was suggested by my friend to use. It is clean and lesser code. I integrated it very easily with react-select.
My React components used to be messed up with a lot of useStates to track fields and their errors in a form. I was starting to get tired of it. Then my friend suggested me react-hook-form where everything felt pretty opinionated. Where we could define a structured schema, register each input field. And even wrap complex inputs like react-select under controller and customize it as our needs. Just the blue pill everyone needs for a compact form controller in react.
I have been struggling with forms in my React apps. It was no less than a nightmare for me working with forms in React. I came to know about this app and it has helped me a lot in making validation enabled forms with proper error messages.
Very performant form library for React in comparison to Redux form or Formik. Its provides very easy api to validate the form and show the errors to the users.
I always use this library for both my react as well as react-native projects for making forms as it is very simple and easily understandable. We don't need to care about the implementation details and all. A far better experience as compared to redux-forms where we are stuck in implementation and management details.
After using Formik for the better part of my career, I felt a need for a change and RHF is where it's at! It feels so natural to use and is becoming the next best choice for handling forms. The main pros when comparing to Formik are less renders and smaller bundle size. The downside imo is that it's harder to plug a validation library and requires a separate dependency which they maintain to include libraries like Yup, Zod etc.. Also to note, if you're moving from Formik, it requires a bit of a mindset change as you don't always have access to all the values.