Intro Component Sign Up | React, TypeScript, Tailwind, React Hook Form

Solution retrospective
I use React Hook Form to manage the form, and React Hot Toast to display notifications. Learned a lot about React Hook Form.
What challenges did you encounter, and how did you overcome them?I encountered a weird bug when resetting the form. Turned out that I should not call reset() in the submit handler function. The docs suggests to call the reset() in a useEffect hook.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @alex931d
hello great job! but i think you used the worng readme file on github!! :)
Marked as helpful
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord