Submitted 8 months ago
Intro Component Sign Up | React, TypeScript, Tailwind, React Hook Form
@yosephwinata
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
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.
Community feedback
- @alex931dPosted 8 months ago
hello great job! but i think you used the worng readme file on github!! :)
Marked as helpful0@yosephwinataPosted 8 months ago@alex931d Fixed that. Thanks for pointing that out 😃
1
Please log in to post a comment
Log in with GitHubJoin 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