How to setup forms with React Hooks

preview_player
Показать описание
In this video I go over how to setup forms in React using react hooks.

GitHub repo

===============================================
DISCLAIMER: This video and description contains affiliate links. This helps support the channel and allows me to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

I went mindless. Took me so many hours to figure out that I didn't add the value attribute in the input fields. On clicking the submit button it wasn't updating and resetting the empty state to the form fields. Finally, after cramming almost all react form videos on youtube and reading so many blogs I came to realize my mistake at 27:08 of this video. Thank You so much. *I'm so grateful you committed the same mistake* otherwise I was going to weep and cry and no one would have ever helped me. I even learned async-await in this bug-finding process. *Thank You, Jason*

nishantkumar
Автор

Great tutorial on creating a Form in React. Thanks!

{2022-03-12}

Pareshbpatel
Автор

Great, A handy tutorial of React hooks with Forms. Thank you

codingworld