React tutorial in Hindi #44 Controlled Component

preview_player
Показать описание
In this react js tutorial for beginners series we learn what is a controlled component in react js with interview questions in react js. This video is made by anil Sidhu in the Hindi Language Language.

git link for this video

Playlist for complete React series in Hindi

Controlled Component
What is controlled component?
Make Component.
Example of controlled Component.
Interview Question.
Рекомендации по теме
Комментарии
Автор

Great playlist i watched it before my interview it was great help.

utkarshdubey
Автор

Yes, Class based component support control type functionality

bluemaroon
Автор

Great explanation and work 👌it helps me understand tha concept.

faizmerchant
Автор

Yes we use Controlled Component in class component

umarfaisalumarfaisal
Автор

yes class component me bhi controlled component use kar sakteb hai

Creator-clvs
Автор

Jab hum aise hi input me value change kr skte h fir ye control component kyu...??

Ankitmathur_
Автор

change state in class component


class Tut44 extends Component{
constructor(){
super();
this.state = {
currentstate:"ravi"
}
}
render(){
return (
<div className='text-center'>
<h3>controlled component</h3>
<input type="text" />
<p>value
</div>
)

}
}

coder-ccpd
Автор

but sir we can change the value using only defaultValue property but then why should use useState hook & why called this, that it is a controlled component.

vikaskashyap
Автор

Can anyone please help me how to get single data from get request
Means /posts/1 where 1 can be 2 3 ... passing a variable and works according to the id ??
Please help me I am in real trouble I need to submit my project this week

dell
Автор

This is called "Two Way Binding"

parveshqaiser