React Forms: the SIMPLEST way
HTML-код
- Опубликовано: 12 дек 2022
- The cleanest and simplest way of creating React forms without 3rd-party libraries. Let's see what a bad way vs. a good way of building a React form is.
======⚡⚡⚡======
Consider supporting the channel by clicking the "Thanks" button ❤️
👉 Get a 20% discount on Brilliant.org (to learn Science, Technology, Engineering, and Math): brilliant.sjv.io/kjVO2z
======⚡⚡⚡======
🙌 Become my Patreon and get exclusive perks: / softdevdiaries
💼 Follow me on LinkedIn and drop me a message if you'd like: / gusgadirov
💻 Also, let's connect on GitHub: github.com/gusgad
📚 Resources:
FormData: developer.mozilla.org/en-US/d...
checkValidity: developer.mozilla.org/en-US/d...
And don't forget to subscribe for more videos like this 😊
#react - Наука
Thanks for the video! I found it easy to understand even though it is my first time using React and React forms.
hey! first of all thanks for the video, I landed here because I was looking at my code and I was thinking there was something wrong with this part of the code and I knew I could do something cleaner.
And your video showed me how to :)
Glad I could help! 🤓
bro i am fresh front-end developer
how much salary could i expect (with 0 years of exp)
and also interview question asked in interview if you can tell
please
tu seras pauvre au debut mdr
You are making a trade-off by removing the feature to validate on-the-fly. Validating everything on submit is not necessarily an efficient way depending on the case.
Yes, it’s only for simple cases with no complex validation logic
What if I dont want the styles of bootatrap to be added ? 😅
Then change it to what you want :/
Nice video, thanks.
I usually use Formik to handle my forms.
Thanks for sharing! :)
I followed your tutorial and it didn't work
Thankyou for wasting time
the worst tutorial ever