BEST Ways to Handle and Validate React Forms without a Library

  Рет қаралды 372,007

Lama Dev

Lama Dev

Күн бұрын

React form validation tutorial. How to handle and validate React form inputs using different ways. Handling forms in React using useState, useRef and FormData.
Support the channel: / @lamadev
Buy me a coffee: www.buymeacoffee.com/lamadev
Source Code: github.com/safak/youtube/tree...
Join Lama Dev groups
Facebook: / lamadev
Instagram: / lamawebdev
Discord: / discord
0:00 Introduction
0:45 Creating Forms in React
06:48 How to Prevent Re-rendering
12:15 Don't be afraid of re-rendering when using forms
12:55 How to handle a form with multiple inputs
20:54 React Login/Register Form Design
24:24 React Form Input Validation and Displaying Errors
41:56 Outro

Пікірлер: 299
@raymondcaddick6208
@raymondcaddick6208 2 жыл бұрын
I've just come across your channel and I'm so excited to work through each example you have! Really appreciate the fact that you write everything from scratch so we can see the full picture!
@kashmirtechtv2948
@kashmirtechtv2948 2 жыл бұрын
The best thing about Lama is that he tells all the possible methods amd then suggests us the best method and that's what most of the channels lack. They force their own methods on viewers Infact those methods are much difficult and outdated. But Lama makes everything easy and useful. 👍👍👍
@Jimmy-zt5io
@Jimmy-zt5io Жыл бұрын
I have been learning React since January and I have never seen someone make a form like u did ! not to mention the way u handle the input validation and errors just with html and css ! that was impressive! Subscribed!
@zuzukouzina-original
@zuzukouzina-original Жыл бұрын
You are one of the best tutors on KZbin 💪🏼 You have the best examples that can be used in a real application. Thank you very very much, I mean it from the bottom of my heart ❤️
@VladimirMitrofanovph
@VladimirMitrofanovph 2 жыл бұрын
Thanks man! That's one of the best tutorials on React forms I've encountered so far. Very clear and I've learned a lot from these 42 minutes. Incredibly good job
@adebisisheriff159
@adebisisheriff159 Жыл бұрын
I fell in love with Lama Dev channel because, we focus on real world project. No copy and paste... All code from scratch with step by step explanation. I do not even know how to thank you for the awesome job you doing for us. I BIG THANK YOU TO YOU LAMADEV and I self-congratulatory message to me for stumble into your channel
@atifulislamasif7893
@atifulislamasif7893 Жыл бұрын
Your contents are so easy to understand, and you provide a lot of topics and features in a single video. I am truly grateful to have come across your channel. Thank you for your hard work.
@ferdinandeke9590
@ferdinandeke9590 2 жыл бұрын
This is amazing, I was gonna ask this question on form validations and the best way to do it and how we could use CSS to make sure certain characters only are inputted .. You're really a guardian angel as well Lama as regards coding.. cos you look out for us even where we may not really look out on.. thanks .. you're deeply appreciated..
@softmerit25
@softmerit25 2 жыл бұрын
This is really great and amazing. Your tutorials are excellent and simple to understand. Keep on the great work! You're a good teacher.
@ojiinnocent9117
@ojiinnocent9117 2 жыл бұрын
Just this morning I was searching for form validation tuts on KZbin and now this. Just right in time. Thanks, man
@malemyengkhom56
@malemyengkhom56 2 жыл бұрын
You got a new subscriber. Now in my todo list I have written down to watch atleast one video from your channel each day. Keep making more project videos ❤️🔥🙌
@jonatasdeoliveiracoelho4691
@jonatasdeoliveiracoelho4691 2 жыл бұрын
So well explained! Good job, Lama Dev! Thank you!
@SkippyTheCanadianKangaroo
@SkippyTheCanadianKangaroo 11 ай бұрын
My man! This is awesome! I have been looking for this as i don't like having so many library's and i didn't realize it was this simple! Thank you very much! Now to figure out on validation on the back end and learn bycrypt!
@onlineeslcanada
@onlineeslcanada 2 жыл бұрын
This is great. Most useful, practical, real-world usage. Thanks!
@Nellak2011
@Nellak2011 2 жыл бұрын
Thank you for this Masterclass! Absolutely loved it.
@barraganroberto
@barraganroberto Жыл бұрын
This is just an amazing tutorial that I keep revisting from times to times. Thank you very much!
@psyferinc.3573
@psyferinc.3573 Жыл бұрын
i cant state enough how you are the best at opening our eyes to the basics
@nbryson2010
@nbryson2010 2 жыл бұрын
Thx Lama! The native solution that you have shown me is fantastic. You're a rock star. I'll be checking back for more tutorials for sure.
@prathamesh3299
@prathamesh3299 2 жыл бұрын
I used hate react but when I found your channel I started loving it so thankyou. currently I'm following you social media app series it's ammazing man thanks for this amazing knowledge for free I'm going buy you so many coffee wjen i'll resume my freelance career my god will always bless you.
@setshow9135
@setshow9135 6 күн бұрын
This lesson is concise for beginners. I always like having the options devoid of libraries and dependencies. Thank you
@luisalbertovillarortiz7424
@luisalbertovillarortiz7424 Жыл бұрын
Undoubtedly by far one of the best react forms tutorials for free.
@davidsapkota5326
@davidsapkota5326 6 ай бұрын
First time on your KZbin channel, and I must say, your coding tutorials are very easy to understand. Thanks, bro!
@fw-ho7si
@fw-ho7si 2 жыл бұрын
Thank you so much for this! Love all of your tutorials. So helpful! 💜
@saltanoi5535
@saltanoi5535 2 жыл бұрын
Thank you! I really improved my code after i watched your video - immideatly made a refractor and it looks much cleaner, and i also can reuse my components better now. Thanks again, expaining was very clear
@lilmeat-xj7ru
@lilmeat-xj7ru Жыл бұрын
Great tutorial I have been spending lots of time on creating forms in React and this helped me very much thank you!!!!!
@CaliburPANDAs
@CaliburPANDAs Жыл бұрын
Validation starts at 24:24 Great video! Thanks Lama
@khizrshaikh9902
@khizrshaikh9902 2 жыл бұрын
Thank you so much for these awesome projects and tutorials
@subramanyam.d24m56
@subramanyam.d24m56 2 жыл бұрын
Thanks a lot for explaining how to place input elements in array of objects.
@nguyenkien5558
@nguyenkien5558 2 жыл бұрын
You are just a incredible man! Thank you for your contributions.
@vaishnavia.n.312
@vaishnavia.n.312 2 жыл бұрын
Amazing video, I did not know about the pattern attribute and have learned much from you,Thank u Lama.
@djsmith3730
@djsmith3730 2 жыл бұрын
Thanks for the new content, really appreciate it - I will surely subscribe to you for a few months after I change careers; which is very soon and you've helped it with the react stuff. thanks bro, you've made a difference - to quite a few people's lives. I'll show you the project when its done
@saurabhdaswant7833
@saurabhdaswant7833 2 жыл бұрын
Wow I was really struggling to do validation stuff on my job projects and always used to was some new tutorials but i was never statisfied with the solution! Now i wont be getting frustrated again again Thank you so much Lama 💙💙💙💙💙
@stillsmart
@stillsmart 7 ай бұрын
Cool React form handling. Thank you
@Offiziersmesser
@Offiziersmesser 10 ай бұрын
Wow, this teaching style is art!💯
@fredrickdenga7552
@fredrickdenga7552 2 жыл бұрын
Safak thank for this brilliant react forms tutorial much appreciated💯
@uttamdutta1762
@uttamdutta1762 Жыл бұрын
Another amazing learning path for me. Thanks lama.
@zeelthakkar2751
@zeelthakkar2751 2 жыл бұрын
Really Helpful Sir. Code is really easy to understand. Thank You
@neerajkanojiya8098
@neerajkanojiya8098 2 жыл бұрын
Excellent example and very well explained.. Greate job... ❤️
@nicmackenzie
@nicmackenzie Жыл бұрын
Another great video Lama. You are just awesome. Keep up the good work
@karis8143
@karis8143 2 ай бұрын
I wanted to take a moment to express my sincere gratitude for the incredible tutorial you provided on React form creation and validation. Your clear explanations, step-by-step guidance, and practical examples made the learning process smooth and enjoyable. Thanks to your tutorial, I now have a much better understanding of how to leverage React's capabilities to create dynamic and user-friendly forms while ensuring data integrity through validation techniques. Your expertise and teaching style have truly empowered me to enhance my React skills and build more robust applications. I deeply appreciate the effort you put into creating such valuable content and sharing your knowledge with the community. Your dedication to helping others learn is truly commendable, and I'm grateful to have stumbled upon your tutorial. Once again, thank you for your outstanding contribution to the React developer community. I look forward to exploring more of your tutorials and continuing to expand my knowledge under your guidance. More I use this opportunity to request that you add selection options to the form and checkbox, radio etc
@raularmendariz7873
@raularmendariz7873 Жыл бұрын
Thanks for this! Really clear explanations! 🙌
@oscargm1979
@oscargm1979 2 жыл бұрын
😛Amazing tutorial!. Thanks again Lama.I will use it in my forms in React.Awesome! 😇
@xplore2000
@xplore2000 2 жыл бұрын
Always releasing nice and amazing tutorial😀 You really change my life sir
@serhanmaknik466
@serhanmaknik466 2 жыл бұрын
Eline sağlık kardeşim, çok yardımcı oldun gerçekten. Yeni şeyler öğrendim sayende :)
@jameskayihura1675
@jameskayihura1675 2 жыл бұрын
What a awesome tutorial! Thanks a lot.
@WillSmith-qt7me
@WillSmith-qt7me Жыл бұрын
Great video for the forms. Thanks!
@user-wq9oy7hx6z
@user-wq9oy7hx6z Жыл бұрын
Many thanks, Lama! It's awesome and clean way!
@m.waseem6616
@m.waseem6616 Жыл бұрын
The tutorial was absolutely stunning. Please make a video on context api as well. Thanks.
@user-ur2xe1br4g
@user-ur2xe1br4g 11 ай бұрын
Been coding in js for 6 months and just now I learned that clg trick LOL Appreciate it.
@guilhemlinde
@guilhemlinde Жыл бұрын
Very clean code. Thank you for this. Subscribed.
@karlithoscolima
@karlithoscolima 2 жыл бұрын
Love it mate , you are other level!
@benkay157
@benkay157 4 ай бұрын
Great job, love this Masterclass. To add a cherry on top of the cake, please make another video on how to handle dynamic errors
@altafhossain4989
@altafhossain4989 Жыл бұрын
Thanks Lama, It is very easy to follow. Continue to build more.
@aymanabid9545
@aymanabid9545 Жыл бұрын
Hello, need some help. In onChange function, coma is used after ...values which is giving the parsing error. How to fix that? Any idea?
@elpake98
@elpake98 Жыл бұрын
Thanks so much, im building a quiz-forms app and this video helped me to improve my code!
@MdHasanAli-rb8no
@MdHasanAli-rb8no 2 ай бұрын
An awesome video, I appreciate your approach.
@Lee-rd4cs
@Lee-rd4cs 2 жыл бұрын
This is exactly what I wanted! thank you so much
@sivasankars9418
@sivasankars9418 2 жыл бұрын
Thanks for providing this video learned a lot
@satishmaurya2089
@satishmaurya2089 2 жыл бұрын
Thankyou so much Lama sir, it is very useful and really enjoyed it.🙂🙂
@mdsolayman9558
@mdsolayman9558 2 жыл бұрын
Hi Sir, You are really awesome. Keep teaching us. Lot of love from Bangladesh.
@SathishKumar-rz5nl
@SathishKumar-rz5nl 2 жыл бұрын
This is amazing...please make more dynamic projects
@shahipapon833
@shahipapon833 2 жыл бұрын
This is so amazing ❤️ NOW i realise how dull we are 😬 Thanks a lot fot this amazing outstanding tutorial. Best wishesh from my heart ❤️
@msalam4248
@msalam4248 Жыл бұрын
so neat and clean tutorial
@SohailKhan-gu2du
@SohailKhan-gu2du Жыл бұрын
thanks man, need more videos from you
@michaelodikanwa442
@michaelodikanwa442 Жыл бұрын
Learning so much from you man🙌
@yar1320
@yar1320 Жыл бұрын
Very good Tutorial, very well explained thanks very much...!
@titimaelouidad3880
@titimaelouidad3880 5 ай бұрын
this is the best React tutorial ever
@michaelwambua1492
@michaelwambua1492 2 жыл бұрын
Nice tutorials. I like them, they are well explained
@vismal2007
@vismal2007 3 ай бұрын
Awesome! Thank you mate!
@ahmetulutas8491
@ahmetulutas8491 Жыл бұрын
This is the best channel. Thanks a million abi!
@sammedsankonatti9642
@sammedsankonatti9642 2 жыл бұрын
Best form creation 🔥 and validation video on the KZbin
@hmssdghsdhansara4931
@hmssdghsdhansara4931 Жыл бұрын
Validating form using the data from backend, that will be a good thing to learn.. waiting for that video
@Corntrop
@Corntrop 2 жыл бұрын
Wow i didnt know that its that easy. And didnt know form data. So cool. Thank you
@laoadventuretour5012
@laoadventuretour5012 Жыл бұрын
I hope to continue to try more
@Japan4Ever
@Japan4Ever Жыл бұрын
Awesome. Thanks always.
@SagorKhan-zk4ix
@SagorKhan-zk4ix Жыл бұрын
Thanks lama, for this nice tutorial
@deeee_veeen
@deeee_veeen Жыл бұрын
This is a great example thank you❤
@saifullahrahman
@saifullahrahman Жыл бұрын
thanks a lot mate! That was so helpful!
@arnoldvhanda
@arnoldvhanda Жыл бұрын
You are a legend we need more n more
@airnodes8248
@airnodes8248 Жыл бұрын
Very helpful, thanks!
@stefanhupp7945
@stefanhupp7945 Жыл бұрын
Really nice video. i try to use some of it in our project
@peteplays604
@peteplays604 2 жыл бұрын
Great video! What should the behavior be on submit? How do we ensure the form is validated before clearing it, redirecting, etc.?
@eumm11
@eumm11 Ай бұрын
incredible buddy, thank you so much :)
@ol1175
@ol1175 2 жыл бұрын
Thanks Lama!!!
@erojoseph604
@erojoseph604 Жыл бұрын
Thank you very much, I found this very useful
@thuco9310
@thuco9310 2 жыл бұрын
Thank you. This video is very useful.
@user-yv4tn5ll9z
@user-yv4tn5ll9z 2 жыл бұрын
my ideal form layout, thanks)
@yho6
@yho6 8 ай бұрын
Thank you very much, I mean it from the bottom of my heart ❤ and it is a very practical example
@elnaza8476
@elnaza8476 2 жыл бұрын
Hi Lama, your videos are very great and useful, please do project with multi-step form by react , thank you so much. Keep on the great work!
@getshou
@getshou Жыл бұрын
Legendary! Thanks!!
@vigneshwarrv
@vigneshwarrv 2 жыл бұрын
This is really great but the problem is ,the html attributes can be edited in the inspect section and we can override the pattern and thus allowing to send irrelevent data in the form..really its great brother
@webhook4729
@webhook4729 2 жыл бұрын
Lama dev, You are amazing man....!!
@o.g.bonyebuchi985
@o.g.bonyebuchi985 Жыл бұрын
Nice one lama
@telur_ramen
@telur_ramen 2 жыл бұрын
thank you so much, you taught me a lot!
@satishksharma
@satishksharma 2 жыл бұрын
Your tutorial is great for learner. I also request please make same video for other form tag as like select, radio button, checkbox etc.
@importanttimeforall2721
@importanttimeforall2721 Жыл бұрын
Awesome helpful video.
@Dzirmal
@Dzirmal Жыл бұрын
Thanks man, I've leared a lot.
@sonnix31
@sonnix31 2 жыл бұрын
Thanks Lama.
@viniciusm.m.7822
@viniciusm.m.7822 2 жыл бұрын
Thanks!!!! God bless you!
@MrTouchFair
@MrTouchFair 2 жыл бұрын
I really want it!!!!!! Ty sensei
@crinceebelempou6611
@crinceebelempou6611 10 ай бұрын
This is so amazing I like the way you teach 😊😊😊
Multistep Form Custom Hook With React And TypeScript
28:23
Web Dev Simplified
Рет қаралды 143 М.
1❤️#thankyou #shorts
00:21
あみか部
Рет қаралды 88 МЛН
Khóa ly biệt
01:00
Đào Nguyễn Ánh - Hữu Hưng
Рет қаралды 19 МЛН
Complete React Form Validation using Formik & Yup in Hindi🔥
32:49
Thapa Technical
Рет қаралды 115 М.
All useEffect Mistakes Every Junior React Developer Makes
22:23
React Formik Tutorial with Yup (React Form Validation)
34:50
Nikita Dev
Рет қаралды 104 М.
React Hook Form - Complete Tutorial (with Zod)
28:22
Cosden Solutions
Рет қаралды 83 М.
How to use React hook form in production
1:02:13
Chai aur Code
Рет қаралды 57 М.
React Admin Panel Tutorial | React Admin Dashboard Template Design
3:04:17
CSS Tips And Tricks 2 | I Wish Somebody Told Me Before
12:36
Lama Dev
Рет қаралды 40 М.
Телефон в воде 🤯
0:28
FATA MORGANA
Рет қаралды 905 М.
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 2,5 МЛН
Разряженный iPhone может больше Android
0:34
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 6 МЛН