#36 : Handling Complex Multiple Input Form States in React JS in Hindi

  Рет қаралды 182,196

Thapa Technical

Thapa Technical

4 жыл бұрын

Welcome, how to handled complex states in react js form in Hindi.
************ Must Watch Videos For Web Development ************
➡️ Hooks in React JS in Hindi | useState in Hook in React JS: • #30: Hooks in React J...
➡️ Array Destructuring in ES6 in JavaScript in Hindi 2020: • ES6 Tutorial #5: Array...
➡️ Object Destructuring in ES6 in JavaScript in Hindi: • ES6 Tutorial #7: Objec...
➡️ React DevTools & Source Code Link: www.thapatechnical.com/2020/0...
➡️ ReactJS Tutorial in Hindi 2020 Playlist Link: • React JS Tutorial in H...
➡️ ReactJS JavaScript Array Map Method in Hindi with Example: • ReactJS JavaScript Arr...
➡️ Fat Arrow Function in JavaScript in Hindi 2020: • ES6 Tutorial #8: Fat A...
➡️ #23: Array in React JS in Hindi | React JS Project Netflix App #2 in Hindi in 2020
➡️ Array in JavaScript in Hindi: • JavaScript Tutorial in...
➡️ #22: React JS Project Netflix App Part #1 in Hindi in 2020: • #22: Props in React Js...

➡️ Install VS Code for ReactJS LINK: www.thapatechnical.com/2020/0...
➡️ Check Complete Reactjs in One video here 👇 • ReactJS For Beginners ...
➡️ HTML in One Video: • Learn HTML in One Vide...
➡️ CSS in One video: • Learn Complete CSS In ...
➡️ CSS FlexBox in 30 Minutes: • CSS FlexBox in 30 Minu...
➡️ JavaScript in One video: • JavaScript in One Vide...
➡️ ECMAScript 6 in One Video: • ES5 & ES6 | ECMAScript...
➡️ HTML5 in one video: • HTML5 Tutorial in One ...
➡️ CSS3 in one video: • Learn Complete CSS3 In...
➡️ Bootstrap4 in One video: • Bootstrap 4 in One Vid...
➡️ Jquery in One video: • jQuery in One Video in...
➡️ JSON in one video: • JSON in One Video in H...
➡️ ReactJS in one video: • ReactJS For Beginners ...
➡️ PHP in One Video: • PHP TUTORIAL IN ONE VI...
➡️ NodeJS in one video: / ipnwakoibt
➡️ MySQL in one video: • Complete SQL & MySQL i...
********** CLICK HERE TO WATCH ************
➡️ Fetch API in JavaScript: • Fetch API in JavaScrip...
➡️ AJAX tutorial for beginners in Hindi: • AJAX tutorial for begi...
➡️ Template literals (Template strings) in ES6 in JavaScript in Hindi: • ES6 Tutorial #3: Templ...
➡️ Async Await in JavaScript in Hindi: • Async Await in JavaScr...
➡️ Promises in JavaScript in Hindi: • Master The Promises in...
➡️ Callback Hell in JavaScript: • Callback Hell in JavaS...
➡️ Advanced JavaScript in Hindi Playlist: • Advanced JavaScript Tu...
➡️ ECMAScript Tutorial in Hindi 2020: • Modern JavaScript ES6 ...
➡️ ES5 & ES6 | ECMAScript 6 in One Video in Hindi: • ES5 & ES6 | ECMAScript...
➡️ JavaScript Game Development Series in 2020: • JavaScript Game Develo...
➡️ Source Code Link: www.thapatechnical.com/2019/1...
➡️ Top 5 Programming Languages in 2020: • Top 5 Programming Lang...
➡️ Ludo Game JavaScript Link: • JavaScript Game in Hin...
➡️Plz show some love to My Siter KZbin Channel and Plz Subscribe Link: / @mayabeautyvlogs878
**************** MUST WATCH VIDEOS *****************
➡️ How to become a Full Stack Developer 2020: • How to become a Full S...
➡️ How To Become a Web Developer 2020: • How To Become a Web De...
➡️ How JavaScript Works: • How JavaScript Works i...
➡️ Follow me on Instagram: / vinodthapa55
Make Website Responsive Using Media Queries in One Video in Hindi | Web Design Tutorial in Hindi
➡️ Link: • Make Website Responsiv...
Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.
Don't Forget to Follow me on all Social Network,
Website Link: www.thapatechnical.com
Instagram Link: / vinodthapa55
Facebook Link: / vinodthapa55
Twitter Link: / vb55thapa
Facebook ThapaTechnical Page Link: vinodbahadur...

Пікірлер: 232
@ThapaTechnical
@ThapaTechnical 4 жыл бұрын
video ko ek do bar jarror dekhe :) ➡️ ReactJS Tutorial in Hindi 2020 Playlist Link: kzbin.info/aero/PLwGdqUZWnOp3aROg4wypcRhZqJG3ajZWJ
@shubhamkanojia7249
@shubhamkanojia7249 3 жыл бұрын
React native me multiple input kse handle krege....
@steelado3433
@steelado3433 Жыл бұрын
for those who didn't understood don't try to complicate things, this is really easy, don't try to binge watch rather try things at same time when Vinod teaching us pause the video and think what he said at every 3 to 5 minutes. at first I didn't really understood the concept but in 3rd time something clicked in my mind and I was laughing at my own for just making it more complicated. he used simple JS.
@sandeeprana331
@sandeeprana331 Жыл бұрын
same here bro😃
@divyanshchaudhary7063
@divyanshchaudhary7063 3 жыл бұрын
Bhai tune itna complicated kardeya ye topic
@anshudhar966
@anshudhar966 3 жыл бұрын
Tumhare videos dekhkar mujhe web developer ki job mil gayi, thank you bro!!
@abhijoker7325
@abhijoker7325 3 жыл бұрын
Bhai meri help karde yar ........
@mr.anonymous6640
@mr.anonymous6640 3 жыл бұрын
congrats bro , where ❓
@ncmnk9484
@ncmnk9484 3 жыл бұрын
This seems more complicated than previous login page
@anandatype7442
@anandatype7442 2 жыл бұрын
ys brdr
@profitjourneywithsk2136
@profitjourneywithsk2136 3 жыл бұрын
Sir you are awesome. You teach hard topics very easily. I appreciate all your hard work . sir your videos are always very helpful .Thank you.
@sanketsuryawanshi
@sanketsuryawanshi 4 жыл бұрын
Best KZbin channel ever
@prasiddh283
@prasiddh283 5 ай бұрын
Most underrated channel of KZbin👏
@asmereg
@asmereg 3 жыл бұрын
Thank you, Bhai. You teach really great💜🔥
@MrKapbat
@MrKapbat 4 жыл бұрын
since you have taken same fname and lname at every function. This is very very confusing. This is the first video which confused me. And if we need to do all this simply to get value. Don't you think simple javascript infact jquery is much much better. I have a feeling that their must be another simplest way to get and store values of form.
@myselfsohit
@myselfsohit 3 жыл бұрын
There are various way ...He is trying to make comfortable with react
@manishdiggi231
@manishdiggi231 3 жыл бұрын
yeah it also confused me.. :/
@ertugruledittz1144
@ertugruledittz1144 3 жыл бұрын
@@manishdiggi231 same goes with me
@yoyocr2034
@yoyocr2034 3 жыл бұрын
same, this is maybe the first time i got bored of this tutorial.. might have to rewatch it 2/3 times to understand
@Deepak-gj4ni
@Deepak-gj4ni 3 жыл бұрын
Mast I was looking for a shorter way without creating multiple states moj krdi bhai
@md.jubairahmed4097
@md.jubairahmed4097 Жыл бұрын
Even that code is also bulky, you could simply use setName(prev=>{...prev, [e.target.name]: e.target.value})
@basiceducation7327
@basiceducation7327 2 жыл бұрын
Loved the way you teach 👍
@hardikpoudel3011
@hardikpoudel3011 3 жыл бұрын
i got the 1000 like and this video cleared all of my doubt
@ashishkumarburnwal5750
@ashishkumarburnwal5750 2 жыл бұрын
Using object destructuring will be useful in this case like- const [values, setValues] = useState({ fname: "", lname: "", email: "", }) const changeHandle = (event) => { setValues({ ...values, [event.target.name]: event.target.value }) }
@md.jubairahmed4097
@md.jubairahmed4097 Жыл бұрын
yeah, exactly. This is the simplest one
@bipinshrestha9636
@bipinshrestha9636 10 ай бұрын
Spread operator saves prev value mean how does it work.....is that like if we write for name input it will is save that in values and so on???? ......and why we write in array for keys???
@WinYourSoul
@WinYourSoul 2 жыл бұрын
Thank you so much for this video.
@SUBINON
@SUBINON Жыл бұрын
you are amazing. way of teching of u us fabulous.
@vinaypatil8009
@vinaypatil8009 2 жыл бұрын
Sir I didn't understand single thing from this tutorial Please make another video for Form validation in Reactjs
@malumastatus5854
@malumastatus5854 2 жыл бұрын
same
@rajat-s-kale1771
@rajat-s-kale1771 Жыл бұрын
Your teaching is awesome
@letsshowdesigns
@letsshowdesigns 4 жыл бұрын
Thapa brother please also cover Redux topic in this series.
@kamleshpawar9483
@kamleshpawar9483 3 жыл бұрын
Vindo sir, A humble request you to create videos for Redux. We want to know what is it, when and why to use it ? Thanks
@freshcollection5911
@freshcollection5911 3 жыл бұрын
I also want to learn React with Redux...
@youfather38392
@youfather38392 3 жыл бұрын
It is created🤞🤞
@sameerdevil8875
@sameerdevil8875 2 ай бұрын
In this series, this is yours first little bit complicated video but still fine 😄
@ramgopalkashyap8266
@ramgopalkashyap8266 Жыл бұрын
After watching 5 times I was able to understand awesome
@oook3407
@oook3407 Жыл бұрын
ye tareef thi?
@ramgopalkashyap8266
@ramgopalkashyap8266 Жыл бұрын
Ha tareef hi thi
@incredibleindia4816
@incredibleindia4816 4 жыл бұрын
You got 1 new subscriber sir.. Bhot he informative videos hai vo bhi bhot simple tarike se. Or vo bhi 100% genuine.. Mai bhot time se KZbin use krra hu Bhot saari videos dekhi but vo kuch kaam ki nahi rehti.. unse agar kuch comment me questions pucho to reply tak nahi karte. But aaj maine apki videos dekhi.. God promise fan ho gya hu apka.. bhot accha kaam kar rahe ho keep it up we support you 🥰🥰🥰🥰🥰 #thapaji really love you .. And thanks for this type of videos .. Sach kahu to mere paas word ni hai apki tarif ke liye.. You are the best 😋😍😍😍😍😍😍😍😍🤣🤣🤣🤣😍🤣🤣
@withbhagyajeet
@withbhagyajeet 3 жыл бұрын
thank you bhaiya.. it"s really helpful ...please try to provide the source code along with the vdo.
@Muhammadwaseemkha9003
@Muhammadwaseemkha9003 3 жыл бұрын
after watching 10 times and try kia and Thanks to My ALLAH aur apka mjhy samjh aaa gya
@divyanshchaudhary7063
@divyanshchaudhary7063 3 жыл бұрын
Bro pdaya toh isne tha toh isee thanks kar naa
@Muhammadwaseemkha9003
@Muhammadwaseemkha9003 3 жыл бұрын
@@divyanshchaudhary7063 any problem you have ?
@Unknown-Stranger
@Unknown-Stranger 3 жыл бұрын
@@Muhammadwaseemkha9003 har cheez m allah
@imshivamshakya_
@imshivamshakya_ 4 жыл бұрын
Awesome 💓
@srclub197
@srclub197 2 жыл бұрын
This html file is a template . If you open it directly in the browser you will see an empty page You can add webfonts Meta tag or analytics to this file
@Muhammadwaseemkha9003
@Muhammadwaseemkha9003 3 жыл бұрын
bht confuse hy pehly wala tareeqa thek hy
@mayankdutta2832
@mayankdutta2832 3 жыл бұрын
thapa bhai mauj krdi tumne to
@rajbannasa7662
@rajbannasa7662 3 жыл бұрын
thank you so much sir
@chandrapalyadav6863
@chandrapalyadav6863 4 жыл бұрын
Thanks..broo
@myselfsohit
@myselfsohit 3 жыл бұрын
#Enjoying a lot ...........
@vikashsinghrajput8407
@vikashsinghrajput8407 4 жыл бұрын
आग है तू भाई
@saurabrakshit405
@saurabrakshit405 2 жыл бұрын
Thapa Bhai how to limit number type input box length so that it will take only 2 digits not more than that? In ReactJs
@sankettalekar5557
@sankettalekar5557 Жыл бұрын
from where can i get the codes of this entire series of react ?
@drashtivaghasiya6811
@drashtivaghasiya6811 Жыл бұрын
I have inut field and i need to print the input value in table column when user press enter key. Plz sir send me tips to solve this problem
@bhakuninavneet3906
@bhakuninavneet3906 4 жыл бұрын
Thanks sir
@parveen545
@parveen545 4 жыл бұрын
Thapa bhai zoom to the starting me hi kar diya karo, mobile me easy rehta hai dekhna aura samjhna, thanks
@omkarjadhav7032
@omkarjadhav7032 3 жыл бұрын
vinod sir , please make playlist on react redux
@pranjalgupta9427
@pranjalgupta9427 2 жыл бұрын
nice explanation
@bluemaroon10
@bluemaroon10 4 жыл бұрын
Bhai kya Redux sikhaonge is series me?
@turnandtwist
@turnandtwist 3 жыл бұрын
Thanks for the concept clearing video. Pls let me know how I can handle form based on radio buttons. Suppose I have two radio buttons n I have same form for both then how I will manage state n post data for each radio button info.
@webcode6071
@webcode6071 4 жыл бұрын
U r awesome
@NeerajSingh-ch7wl
@NeerajSingh-ch7wl 4 жыл бұрын
please make a video on sidebar with hamburger menu...
@mayankkandari6794
@mayankkandari6794 3 жыл бұрын
( hmr waiting for update signal from wds...) i am getting this message on my console. Can you suggest me any solution?
@pavanrao2965
@pavanrao2965 3 жыл бұрын
Good video
@sankalpaneupane5954
@sankalpaneupane5954 2 жыл бұрын
const handleChange = (e) => { setformData(prevFormData => { return{ ...prevFormData, [e.target.name]: e.target.value } }) }
@muhammadqasimnouman7261
@muhammadqasimnouman7261 2 жыл бұрын
sir what if we have to show data on submit button ?
@afaqahmad8918
@afaqahmad8918 Жыл бұрын
I watched this video 2 times but didn't get the concept. should I move to the next videos ?
@vrajpatel0218
@vrajpatel0218 Жыл бұрын
mene first barr video dekha to muje kuch samaj me nahi aaya ,but mene firse video dekha or sathme code karta raha tab pura video samaj me aagaya to thank you so much 😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎😎
@ZahidKhan-th8pz
@ZahidKhan-th8pz 2 жыл бұрын
Bahot complicated tha smjh jb aane laga to fir kuch aesa bata diya ki confused ho gye
@mdjakaria1540
@mdjakaria1540 3 жыл бұрын
watch this video 3 time and practice 1time and analize 2 time it will easy
@imran22
@imran22 2 жыл бұрын
watched video 4 tiimes... coded same...ERROR : TypeError: Cannot read properties of undefined (reading 'fname') Please anyone can help?
@DEEPANSHU_NAG
@DEEPANSHU_NAG 4 жыл бұрын
Plz *_react_* se ek *_website_* create kre and backend programming *_Node JS_* me and database *_MongoDB_* use kre...
@ThapaTechnical
@ThapaTechnical 4 жыл бұрын
Sure
@DEEPANSHU_NAG
@DEEPANSHU_NAG 3 жыл бұрын
@Abhay Pratap NO
@DEEPANSHU_NAG
@DEEPANSHU_NAG 3 жыл бұрын
@Abhay Pratap from internet agar aap ek do programming languages jante ho ya intermediate/master kiya h toh aap other programming language sheek sakte ho online books padkr and internet se reference lakr very easily sheek skte ho
@gouravmishra7291
@gouravmishra7291 3 жыл бұрын
​@Abhay Pratap hello bhai , have you learned react js and create project on it
@bnodonprojukt2124
@bnodonprojukt2124 3 жыл бұрын
video num 39 & 40 from react playlist are the same.
@sufisufyan6489
@sufisufyan6489 4 жыл бұрын
zabardast
@Tahirkhan-hv3jn
@Tahirkhan-hv3jn 3 жыл бұрын
abi tk ke sare video smjh agye.but ye wali video hadd se zyada confusing hai
@tasneemkhan1405
@tasneemkhan1405 4 жыл бұрын
Thanks sir ji❤️🤗 Awesome
@mumarishaq7200
@mumarishaq7200 3 жыл бұрын
It is difficult plz make one more on it with details
@divyanshchaudhary7063
@divyanshchaudhary7063 3 жыл бұрын
2-3 bar dekh samjh jayega bro
@yasirsohail9986
@yasirsohail9986 2 жыл бұрын
Please make tutorial on React native 🙏🙏🙏 hma sirf apki smjh ati
@nitinkumarjain7243
@nitinkumarjain7243 3 жыл бұрын
its more complicated i expecting much better but itsmore difficult than prevoius one...
@faizanahmedsiddiqui5703
@faizanahmedsiddiqui5703 3 жыл бұрын
i like the way you teach but you made this topic very complicated and difficunt to understand!
@jashanpreet832
@jashanpreet832 3 жыл бұрын
Kya baat hai
@simsingh6196
@simsingh6196 3 жыл бұрын
Bhai last me input me value vala attribute uncomment kyu kiya, itne same name k variables hai..can anybody explain..@Thapa
@mirzaumar6830
@mirzaumar6830 Жыл бұрын
Bro can you display this data in a table?
@creativeeducator1786
@creativeeducator1786 2 жыл бұрын
good
@nileshdhangar6822
@nileshdhangar6822 2 жыл бұрын
Actully your called fname and lname with defining is error shows when I write like you but when I write Fullname.fname and Fullname.lname it work and its also showing error on that attribute are undefined so what's the solution?
@koratharshil966
@koratharshil966 4 ай бұрын
h1
@kaustavbasu8250
@kaustavbasu8250 4 жыл бұрын
Very complicated sir.
@tazimansari1243
@tazimansari1243 2 жыл бұрын
This video is very confusing 😵😵😵😵 But l love your content
@NeerajSingh-ch7wl
@NeerajSingh-ch7wl 4 жыл бұрын
ok forms ka data ko store kaise karege backend pe....
@souravdhara8621
@souravdhara8621 2 жыл бұрын
first time complex laga muje 😅😅😅😅😅
@creativeakshara8438
@creativeakshara8438 4 жыл бұрын
Thapa bhai you are great 👍 Please make a coding app for Android like vs code editor please 🙏🙏 Because you know everything 😇
@vikaschavan4901
@vikaschavan4901 4 жыл бұрын
Please java in one video 🇮🇳🇮🇳🇮🇳
@yasirsohail9986
@yasirsohail9986 2 жыл бұрын
Please react native pr tutorial bna do
@medipakpagare
@medipakpagare 3 жыл бұрын
Sir, ye values heading me show karneki koi need nahi thi, isse bohot complicated ho gaya ye. Aur previous wala to 2-3 days se try kr raha hoo bt nahi samajh aya kuch.
@praviningavale2706
@praviningavale2706 3 жыл бұрын
Hi can we write the code without "value" attribute ?? is it necessary to use ???
@nicetomeetugaming7024
@nicetomeetugaming7024 2 жыл бұрын
Value attribute is very important if you want to create login forms.
@pronobmozumder
@pronobmozumder 3 жыл бұрын
WATCH THIS VIDEO, ONE MORE TIME. EVERYTHING WILL BE FINE.
@abhisekmishra3523
@abhisekmishra3523 3 жыл бұрын
This video is useful but i have a doubt.. when i try this: if(name === "fname") { return { fname: event.target.value, lname: prevVal.lname, age: prevVal.age, gender: prevVal.gender } } and change the input field for second time it shows TypeError: Cannot read property 'value' of null but when i destructure the event name and value it works fine how ???
@amenaaktersuborna5085
@amenaaktersuborna5085 3 жыл бұрын
may be it's becoz u r using event.target.value under the -if condition . if we use const value=event.target.value then it will assign(store) the value just 1 time .so the value ramain same under every 'if condition' . so store the event value (event.target.value) before working under if condition
@digitaldeveloper7635
@digitaldeveloper7635 3 жыл бұрын
This is the first video which confused me
@Naiem_webdesign
@Naiem_webdesign 2 жыл бұрын
Mee to brother.
@SAADKHAN-qh3bp
@SAADKHAN-qh3bp 3 жыл бұрын
multiple select option ki value kasy get karen gy?????????????????
@adityarai8111
@adityarai8111 3 жыл бұрын
bhai ye last se same kaise hai?last me button pe click pe ho rha tha aur ye aisa login form kha hota har jgh to click pe hi hota
@aniketbhalla1521
@aniketbhalla1521 3 жыл бұрын
Until the knowledge of this video, in the inputEvent function, we can also write the following: (e.target.name == 'fName') ? setFullName({ ...fullName, fname: e.target.value }) : setFullName({ ...fullName, lname: e.target.value }); if we don't want to use previous state of the component. Rest what thapa sir has teached us is also very good and very simple to understand. Thanks sir.
@rohitrout6450
@rohitrout6450 2 жыл бұрын
bro why cant we create a separate variable outside suppose (prevfirstname,prevlastname) and as soon as user enter something than in the change function we will do if --------------------------------- let prevfirstname,prevlastname; const change(){ if(e.target.name==="fName") prevfirstname=e.target.value; else prevlastname=e.target.value; setName({fname:prevfirstname,lname:prevlastname}); } ------------------------------------- why this don't work?
@nicetomeetugaming7024
@nicetomeetugaming7024 2 жыл бұрын
@@rohitrout6450 your function and if else syntax is wrong bro, syntax for function : const function = () ={}, syntax for if else : if(){}else{}
@itsumair001
@itsumair001 2 жыл бұрын
I think the long previous method is better then it
@RahulGupta-wh7or
@RahulGupta-wh7or 3 жыл бұрын
sir i am facing problem on this videpo i have written same code in my machine but it's give me an error please help me sir error is object is not valid as a react child found object keys {name,password,email} if you meant to render a olletion of children use aaray instead
@ibnaskhan
@ibnaskhan Жыл бұрын
Rahul Gupta hello bro 1 year ho gya is comment ko . react js acche se sikh gye ya nahi plz reply
@virendrasinghbhanu1267
@virendrasinghbhanu1267 3 жыл бұрын
it is so complicated
@rashidarani3674
@rashidarani3674 3 жыл бұрын
lname=prevalue.lname is up to me
@abhinavsharma4197
@abhinavsharma4197 2 жыл бұрын
Mix-Veg video, could've used a better naming convention!
@sagarkamble3538
@sagarkamble3538 3 жыл бұрын
how your code automatically indented when you hit ctrl+s,
@eagerboy2219
@eagerboy2219 3 жыл бұрын
use extension name : prettier
@sid.26
@sid.26 Жыл бұрын
Error: Cannot read properties of undefined (reading 'fname') Please help
@user-cs3lo6pf4e
@user-cs3lo6pf4e 6 ай бұрын
same problem
@reeshabhkapoor7
@reeshabhkapoor7 3 жыл бұрын
I can't see hooks state in react developer tools...Anybody else facing the same problem?
@muhammadmujtaba7817
@muhammadmujtaba7817 3 жыл бұрын
before running npm start use npm run build
@vanshgupta312
@vanshgupta312 10 ай бұрын
bhai source code ke naam pe tumne apne website ki link de rakhi hai to banda source code kaise dhundega
@debankar99
@debankar99 4 жыл бұрын
backend part kaab ayega?
@EWorldHub
@EWorldHub 3 жыл бұрын
ye video 2 times kyun add kiya playlist mein. 39 and 40 are same videos. please remove 40th no video from playlist
@rashidarani3674
@rashidarani3674 3 жыл бұрын
es bnday ka concept theek nhi abi previousValue to add kr rha lakin smja nhi rha k eska kam kya hai o bhai ye previous state hai jab app fname main value add ker rhay ho to basically fist state ki value update ho rhi to phr previous state ko kasay deal kr rhay ye to smjhao r video to fazool main itna long krtay ho
@EWorldHub
@EWorldHub 3 жыл бұрын
@@rashidarani3674 watch on 1.25x speed Or 1.5x speed don't waste time
@srclub197
@srclub197 2 жыл бұрын
When I type inside input field it disappears
@suchibhargav5868
@suchibhargav5868 3 жыл бұрын
Throwing error when I type last name-- cannot read property fname of undefined
@SandeepSharma-jh2hd
@SandeepSharma-jh2hd Жыл бұрын
I am facing the same error!
@knowledgeera3210
@knowledgeera3210 2 жыл бұрын
Watch this video 2 times then u will get the actual concept......
@atuljain4834
@atuljain4834 3 жыл бұрын
Hi Mr Thapa, I am getting an error when using const [fullName,setfullName] = useState({ fname:"", lname:"" }); Objects are not valid as a React child (found: object with keys {fname, lname}). If you meant to render a collection of children, use an array instead. Please help
@rohitrout6450
@rohitrout6450 2 жыл бұрын
May be you are declaring state inside return function
@khanansari3456
@khanansari3456 2 жыл бұрын
May be change you extension js to jsx
@bhushan8002
@bhushan8002 Жыл бұрын
Return karta time hamna { } walli bracket kyu use kii hai instead of ( ) this bracket Kya object banaya hai Fullname ka ishliya kiya hai ya koi aur reason sa kiya hai
@bhushan8002
@bhushan8002 Жыл бұрын
Please answer me
@anti-tankartur677
@anti-tankartur677 5 ай бұрын
kyuki tum yaha object return kar rhe ho, aur defualt object is enclosed withing curly braces. Isiliye instead of defining an object and returning only the name of the object, thapa idhar directly object ko return kar rha. For simplicity, just imagine ki return ke bad khali ek variable ka naam hain, baki sab maat dekho tab samajh aa jayega.
@anupsrivashtava2676
@anupsrivashtava2676 4 жыл бұрын
Sir apne fat arrow function banaya fir hata kar curly braces use kiya ye thora confusing hai . Help any one.
@rahul-java-dev
@rahul-java-dev 4 жыл бұрын
Sayd wha glti ho rhi thi, islye video edit kiya gya and next time unhone ek object bnaya.
@anupsrivashtava2676
@anupsrivashtava2676 4 жыл бұрын
@@rahul-java-dev may usi ke karan galti ho raha ho
@srclub197
@srclub197 2 жыл бұрын
In my browser it's showing like below
#37: React Login Form Challenge in React in Hindi 2020
10:20
Thapa Technical
Рет қаралды 87 М.
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 155 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 35 МЛН
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 7 МЛН
Building a Todo List App Project in ReactJS from Scratch in Hindi in 2020
48:27
Webpack 5 Crash Course | Frontend Development Setup
41:17
Traversy Media
Рет қаралды 288 М.
Login Form Submit in React Js in Hindi in 2020 #35
19:20
Thapa Technical
Рет қаралды 162 М.
Context API in React JS in Hindi in 2020 #51
25:10
Thapa Technical
Рет қаралды 248 М.
React tutorial in Hindi #17 Handle Form | checkbox | input field | select
11:34
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 155 МЛН