Tag: react-hook-form
-
Testing Controlled React-Hook-Form Components
I recently ran into quite a bit of frustration attempting to test a component that wrapped a <Controller /> from React-Hook-Form. Most of my projects use MUI as the frontend component library so I’ve been getting used to “uncontrolling” my inputs with RHF by making my own set of inputs that can easily go into…