Right on the bulls eye. Such a detailed and amazing tutorial. This series is amazing!
@rishikesharora86813 жыл бұрын
same example by using functional component. import React, { useState } from 'react' export default () =>{ let myObj = { name : "", password : "" } const [controls, setControls] = useState(myObj); const handleControl = (e) => { setControls({[e.target.name] : e.target.value}); } return( Name : Password : ) }
@blackmamba39842 ай бұрын
the problem is 7:14 ---har ek input fild keliye ek handler (function) banana padega solution is write a single handler that manage all input filed. attribute add karna padega har ek input filed me ex.... name= "kuch bhi add kar sakte he " 8:58 learn logic at 15:46
@asharma7414 жыл бұрын
Sir i am very thankful to you . No one explaons like you........
@abdullahamin45042 жыл бұрын
Brother ----- We wait for your Video About ----- django Custom admin panel How to use Please Make a video as soon as posible ....
@kiva18235 жыл бұрын
Super clear lectures and very knowledgeable instructor. Definitely worth your time if you want to become a React master. Thank you:) 𝓖𝓔𝓔𝓚𝓨 𝓢𝓗𝓞𝓦𝓢!✰✰✰✰✰
@rohitkudalkar924 жыл бұрын
hello sir, yor tutorials are very informative and helpful. can you please make videos on form library like formik which is very popular for react. Thanks and support
@jagdishjena90582 жыл бұрын
Thank you so much sir.
@praveenkumar97254 жыл бұрын
bro..isko functional component mein kaise karna hai woh bhi ek baar dikha dete yaar... anyways. Nice tutorial... thank you.
@ijazDeveloper7864 жыл бұрын
sir apny rcc say kesy class component defind kiya tell me plz about this short keys rcc
@simple88103 жыл бұрын
Sir wiithout using this.setState() how could you set the password value to upper case i donot think ths upperCase will be stored as new value?
@hometvfirestick3 жыл бұрын
thanks
@agranshuaggarwal39474 жыл бұрын
Awesome
@navitagoyal44264 жыл бұрын
Sir in which video of javascript you have explained about e.target.value, please comment the link. Thanks!
@simple88103 жыл бұрын
it is js concept
@thejourneyfromdarktolight7704 жыл бұрын
why you use brackets in [e.target.name] they are used for arrays?
@asharma7414 жыл бұрын
I have also the same query
@ajaybhardwaj63424 жыл бұрын
this is ES6 syntax for setting object property
@simple88103 жыл бұрын
sometimes we need to use bracket [ ] notation to set object property or accessing object propertes cause dot is failder sometmes
@ADH_013 жыл бұрын
Ye square brackets kyu lgaye hai? Explain plz
@manojrawat5756 Жыл бұрын
❤❤❤
@rajatchaurosia2903 Жыл бұрын
hello sir i write same code but all work but value is not updating
@amanrawat42504 жыл бұрын
Hello sir how to do this with function component I am not able to update the input fields
@samimkhan68354 жыл бұрын
this.setState({[e.target.name]:e.target.value}) not changing values in input
@takbeeralikhan10434 жыл бұрын
put ; semicolon at the end of statement
@abdulsami46184 жыл бұрын
Brother make sure " e " event, is available in the function!~
@DeepakGupta-hj2dv5 жыл бұрын
React js ke notes upload krege...?
@geekyshows5 жыл бұрын
Yes After some days
@DeepakGupta-hj2dv5 жыл бұрын
Hoc higher order components pr video na bnaya sir..?
@connect.tehseen2 жыл бұрын
@@geekyshows How to do this with function component? Plz reply
@arijitdatta46184 жыл бұрын
isko function pe try kiya nahi ban raha hai
@jeetuachtani5 жыл бұрын
Hello , I have done this through functional component. please tell me if its right... const [inputs, setInputs] = useState({}); const handleInputChange = event => { event.persist(); setInputs(inputs => ({ ...inputs, [event.target.name]: event.target.value })); }; inside form value={inputs.name} onChange={handleInputChange}
@abdulsami46184 жыл бұрын
I Appericiate your logic..! but can use please tell me why you add function in setInput( ) ?? You can do with this way as well..! function forEveryThing(e) { const value = e.target.name === "pass" ? e.target.value.toUpperCase() : e.target.value; setInputs({ ...inputs, [e.target.name]:value, }) }