Reactjs – Is there a way to add a function on errors in React Hook Form?
I'm looking into React and React Hook Form, I managed to display custom messages below the inputs but I also want to display an alert using react-toastify to let the user know about all the errors. How can I add…