I think you used the wrong term in the part about useEffect. It says to pass an empty array, but you're passing an empty object. It might catch someone off guard and scratch their head (which is a good thing, but might not be in this case, hahah)
I think hooks are brilliant and a very natural evolution of react. Components are presentational. So wrapping with HOC's or using render props for sharing non-presentational things always felt wrong. Especially with render props. I've been using nothing but hooks since April and I don't ever want to go back to the old paradigm.
Thanks for sharing this information! I will definitely look at react-hook-form on my next project!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.