Hey Pedro, thank you for this ReactJS Course as well as all the other videos you've posted.
@PedroTechnologies2 жыл бұрын
Thank you for the support! I am happy to hear you liked the course :)
@princesshemen941410 ай бұрын
Hi Pedro. I just want to say, all the way from Nigeria, thank you so much for these React videos. Not everyone can afford those paid courses and you have been a lifesaver. Please keep it up.
@abdessamade69952 жыл бұрын
you can write: {errors.fullName && {errors.fullName.message}} instead of: {errors.email?.message}
@FirasMohamed967 ай бұрын
you right too, but look at both codes again, you can tell why his way is better. his more minimalist
@JonBrookes2 жыл бұрын
Hi Pedro, this video is fantastic - very clear, very concise and so much easier to adopt these libraries than to write it yourself - thank you for posting this 🙂
@reginacheong45962 жыл бұрын
Thank you for this efficient way to validate form inputs which is essential for every app with a sign in. Thank you for all your content. Yours has become the first resource I check for whenever I want to learn about something.
@stn3692 жыл бұрын
Hey, bro massively appreciate your efforts and respect your teachings!
@dm3424 Жыл бұрын
Pedro you are the best!!! I ve been studying full stack development for a year, my dream is to change career and be a programmer. Your videos are great , you speak really clearly and it is easy to understand even for a non native English speaker, keep up the good work!!
@DSIRAGGIE Жыл бұрын
Pedro, Thank you so much! You're an excellent teacher and you stay on topic; making it easier to grasp the concept.
@olenayevtushok2014 Жыл бұрын
Thank you for this video! It's really amazing that you use real tools to explain, not just manually write some validation using if statements etc...
@martinirungu23812 жыл бұрын
You have the best react contents bro and your explanation is top notch. Keep em coming
@sherothkar58092 жыл бұрын
You are directly teaching the thing that which really needed 👍👌
@taiwooladosu37842 жыл бұрын
There is something about your way of teaching.. It sinks in immediately.. Thanks Pedro
@UsamaJaved-j7z Жыл бұрын
Simple and clear explanation. Thank you.
@Salah-YT2 жыл бұрын
thank u so much bro it was so amazing video bro and I did follow you until the end so everything was perfect bro and I'll upload it to my GitHub just for my self for future thx bro
@nic_jaws2 жыл бұрын
Thanks for all these videos Pedro. We really appreciate your channel.
@georgegodwin58662 жыл бұрын
Pedro, I have been following your videos on KZbin. you are simply the best. you make programming so easy for people like us. thank you so much. George from Nigeria.
@soumeshnayak45462 жыл бұрын
thnx pedro sir for this awesome video
@muhammadmohsinhussain5428 Жыл бұрын
Thank you so much Pedro.
@Pedro21Torres2 жыл бұрын
Thank you so much Pedro for all this episodes!
@kgosikgosi55958 ай бұрын
Your tutorials have helped me a lot. When is the backend course coming?
@garnica_hector2 жыл бұрын
Thank you Pedro for these videos and lessons, and for taking the time to teach so many people, including myself. Hopefully I can land my first front-end developer job soon and donate to the channel. You are amazing! 😁
@as_404_as Жыл бұрын
for the required, min, max, minLength, maxLength feature we can directly use the default input tag properties. For that why should we use Yup package methods like requried(), min(), ... ? like this (This is working as expected):
@hazema.615010 ай бұрын
that is what I was thinking. Maybe there is something that I don't know about the input tag that makes it unsafe??
@josecarlosparada31712 жыл бұрын
You are the MVP Pedro! Your videos are the best!
@fernandogouveia2924 Жыл бұрын
Thanks a lot, dude! This short video hooked me up big time! It would be interesting to see an extension of this video, where it could include 'masks' for the input fields. It would give a more professional look to the form overall. Aside from that, this is a really good tutorial, thanks again! Cheers from Brazil!
@monty_29692 жыл бұрын
Great vid ! I wanted to do exactly the same. Use react hook form + yup validation. You saved me the trouble of reading through the docs
@wadf292 жыл бұрын
Pedro you are a great instructor. Thank you for your contribution.
@scrapbookk8775 Жыл бұрын
This was the perfect tutorial, thank you man
@Adarshabinash Жыл бұрын
Thanks pedro...I was searching a video on this topic
@hamzapaskingakhtar Жыл бұрын
This is good just need to wrap my head around it. Would be cool if you can make a video on how to read and understand documentation, best practices and how to apply them accordingly.
@Solomer5569 Жыл бұрын
Cannot read properties of null (reading 'useRef') TypeError: Cannot read properties of null (reading 'useRef') I am getting this error why?
@Solomer5569 Жыл бұрын
I cant solve it
@aaronfive-5 Жыл бұрын
thanks a lot, Pedro. you are amazing
@nawazishali2742 жыл бұрын
Plz make playlist with material ui alongwith react hool form and yup explore all functions of react hook form like watch setValue and other
@forestlin61642 жыл бұрын
Thanks, Pedro. Your video is clean and useful. And helping me to get a job!
@k303k2 жыл бұрын
Thanks a lot Pedro!
@DriveandThrive2 жыл бұрын
Appreciate your series
@2006Pk2 жыл бұрын
Thanks a lot for all your videos! Very helpful 🙂
@IND_Abhi2 жыл бұрын
just started folowing this react course is it gonna be complete like redux and all that or just some basics
@kaderathbun2 жыл бұрын
Great video 👊
@stephenondieki220011 ай бұрын
this guy just nailed.
@abdelmonem882 жыл бұрын
thanks alot bro it was something very important to know
@houssemflutter27222 жыл бұрын
If you continue like this, you will become the undisputed react king 🙂🙂.. you are really amazing bro ... Only I see and this is a personal opinion that the best way to control the form is the normal way without using the form-hook only useState ... it is enough to control the inputs and outputs 👍❤️🇩🇿
@PedroTechnologies2 жыл бұрын
There is no correct answer, but I do recommend using a library such as react-hook-form
@absurdist13302 жыл бұрын
react-hook-form I think is the most flexible, fewer lines of code. If you want to handle everything yourself - no dependencies philosophy - maybe you would opt out of it...
@absurdist13302 жыл бұрын
@@houssemflutter2722 I think you grossly misunderstood me haha. I am just saying - if you want to handle the issue with forms flexibly - use rhf. If not, sure you can opt out of it/not use it. What has respect have to do with anything?
@houssemflutter27222 жыл бұрын
@@absurdist1330 Oh my God, I really misunderstood, I apologize brother, I understood that you want me to withdraw from the video because I do not like using libraries,sorry brother, I will delete the comment and I am very honored to be your friend 🤦🏻♂🤦🏻♂
@sumitsaha6941 Жыл бұрын
Learn lots of things from this video.
@Cermuel2 жыл бұрын
Please can you make a series for next Js .. I just finished the next Js video you have. It was really good. I want to learn more
@andreasacardio6289 Жыл бұрын
awesome lesson bro !
@abdessamade69952 жыл бұрын
you're really making react look easier ♥♥♥
@doppel332 жыл бұрын
Thanks Pedro, I’m really enjoying and learning a lot from this serie! I saw another youtuber saying that Zod is the industry standard for validation nowadays. Any reason for choosing Yup over Zod?
@Rahulyadav-lv7dh2 жыл бұрын
Awesome content♥️
@Pareshbpatel2 жыл бұрын
Using React-Hook-Form and Yup to create React Forms, so clearly explained. Thanks, Pedro. {2022-11-13}. Implemented:{2022-11-14}
@muradjadoon6192 жыл бұрын
great explanation @pedroTech 👏👏
@yelukurusandeep45962 жыл бұрын
Tq so much Pedro....😇
@RohitKumar-ht4sr2 жыл бұрын
How yout terminal sujjesting you the packages?
@nickmob81912 жыл бұрын
I need this awesome thing right now))
@PedroTechnologies2 жыл бұрын
Fig!
@RohitKumar-ht4sr2 жыл бұрын
@@PedroTechnologies thanks
@sonamohialdin33762 жыл бұрын
Awesome tutorial thank you
@eriknorden93882 жыл бұрын
Thank you so much for the Course Pedro. It's amazing - I am learn so much. One Question though: Would I use YUP and Typescript combined? ... Or is it more like only one of the two?
@PedroTechnologies2 жыл бұрын
Combined!!
@EpistemicFomo Жыл бұрын
Wow, thanks a lot!
@amritshrestha58395 ай бұрын
really appreciated !!
@mikidai3575 Жыл бұрын
very effective and helpful
@AzedineOuhadou Жыл бұрын
great one pedro
@mouhamedoussemarouis524 Жыл бұрын
well done🙂
@sanmarchen2 жыл бұрын
Pedro, you are awesome!
@HarshBhardwaj-r6w9 ай бұрын
Very Helpful content bro love from india
@ИннаБогданова-к4щ2 жыл бұрын
Pedro, we are waiting for new series!!! millions thanx for your wirk!
@AlttoA Жыл бұрын
thank you pedro bro
@qasimmehmood762 жыл бұрын
for validation shouldn't we use html5 validations? it has almost all validations that we did in this video - type= "email", required etc
@nickmob81912 жыл бұрын
Good job, Pedro! Thanks. Please, tell what a terminal extension for suggestions you use?
@PedroTechnologies2 жыл бұрын
Fig!
@nickmob81912 жыл бұрын
Thank you!
@acesAtlaNtis22 күн бұрын
which vscode theme you are using?
@Kennomie2 жыл бұрын
Hi Pedro, You explanation is very clear and I am able to make a form in react by following your video. One question I have is how can we validate the input as user type without submitting the form? I think that would improve user experience even more. Thanks!
@theanythingalgo2 жыл бұрын
Nice tutorial
@stephenondieki220011 ай бұрын
very nice man
@3TQHAJSHNQ2 жыл бұрын
Hey Pedro, does this handle the server side of things? Or is this solely client-side?
@emamarcela3542 жыл бұрын
Hi Pedro. I was practicing this and I realized these two libraries don't work with styled-components. Do you know why or if there's a way to do it?
@WahabShah232 жыл бұрын
Awesome!
@Amvflix72 жыл бұрын
Thanks Pedro... Love from India ❤️🫂
@codetheworld6721 Жыл бұрын
thankyou bro , please include file upload and select box in this form..
@Mehedi.Developer Жыл бұрын
Bro, could you tell, me how you get autocomplete suggestions on your terminal when entering any command?
@amankushwaha8180 Жыл бұрын
great video
@loyaltythameem2 жыл бұрын
Great 👍 video
@robertmacwan81442 жыл бұрын
thanks ❤️
@takek77392 жыл бұрын
@Pedrotech After clicking the submit button how do we clear all the inputs in the input fields ?
@PedroTechnologies2 жыл бұрын
You can create a ref to the inputs and set their values to an empty string. I didn't teach useRef in this course, buut its not that complex!!
@takek77392 жыл бұрын
Thanks man keep doing great videos . Good luck
@HR-pz7ts11 ай бұрын
You can put required in the input tho. And how can you put characters when the input type is number??
@codeaccount49312 жыл бұрын
amazing!
@TestingKyoshi Жыл бұрын
My form is returning (Module parse failed: Unexpected token (51:21) You may need an appropriate loader to handle this file type. | columnNumber: 13 | } > }, errors.fullName?.schema), /*#__PURE__*/React.createElement("input", Object.assign({ | type: "text", | placeholder: "Email") this error will please guide me
@WiziwigeAgario2 жыл бұрын
thank you
@hamdihawari Жыл бұрын
Thank you for this very good Tutorial. I wonder, how do i clear the values after submitting, Thank you
@dasaridineshkumar90572 жыл бұрын
hey by adding the register in input the ui is not taking values
@ronnykn21082 жыл бұрын
U can write form validation from the HTML ex:
@gonzalofonsecac2 жыл бұрын
God bless you!
@vityachess Жыл бұрын
Thnx
@pauloricardomaltaleal3558 Жыл бұрын
Im like so much the course. If someone already work with React see this comment, these librarys is being used yet?
@rodellibed91002 жыл бұрын
Im from Philippines bro your so great ❣️ I appreciate all of your tutorials more videos bro Godbless ❣️
@wadf292 жыл бұрын
Would this work with typescript?
@RelaxingSounds-bl1dv2 жыл бұрын
@PedroTech there will be also a REDUX tutorial included? I mean for React 18 .... Ty for your work bro :D you're amazing !😇
@maingii2 жыл бұрын
the validation for age error looks like these with empty field on it age must be a `number` type, but the final value was: `NaN` (cast from the value `""`). how can we change it
@crowbr2 жыл бұрын
Gj my friend, how I can validate arrays inputs like select with multiple values or a file input like an filepicker in Yup ? Thanks mate congrats from Brazil.
@noobresistance2 жыл бұрын
thanks pedro for such a beautiful course my friend . i am learning a lot from you .. but I am facing a problem here in yup.string().required() function in schema. string is not working properly . if a enter some numbers instead of sting in Name . it is accepting it as a string of integer. can you please check it ?
@Art-ee6nn2 жыл бұрын
You aren't going to continue this course?
@PedroTechnologies2 жыл бұрын
I am, next episode comes out tommorrow! I took a week break but im back strong 💪
@ziyasiddiqui55662 жыл бұрын
Hey Brotha, why in string() method also accepting numers . // In the Name Field 🤔
@RoborobsComputers2 жыл бұрын
How do you do this in typescript?
@lrabeno2 жыл бұрын
Anyone know how we would get rid of the space between each input? I tried using a ternary to display the or nothing but can't get the space to go away.
@emamarcela3542 жыл бұрын
Someone already wrote the solution in the comments. You can check it out but it's basically using a ternary operator like this {errors.fullName?{errors.fullName.message}} you can also use && instead of ?
@loyaltythameem2 жыл бұрын
Please continue to reactjs with realtime project
@kruthikeshmk2 жыл бұрын
{...register("name")} this line is not letting me type anything in input box.....any idea why? I have used custom input fields and I know its this line which is causing the trouble because I'm able to type once I comment out this line............. Please help @pedro