Now, we have finished three four inflating think how to release a.
A car from our table, we're going to record the spots on Ed's car.
OK, and the dessert is through eight dates in our state and we are going to use this form.
So let us back in our visual style codes.
We have already created a Form eight, that is you can see here from title wave form like this.
So here we are going to have three states.
We can have three states ains.
This race is going to be brains and the initial video is going to be empty like this, and the price
they call of is for.
Hello.
Horror is going to be empty, legislators squad office will have caller.
And share his price, so make sure to put a higher price.
Very good.
And here again, I say price.
OK, we have three states and as you can see in this form, and we are going to put these three dates
in our states and the initial values are going to be empty because we don't still have something here.
We have a name to import and to ensure the oil is going to be empty for brains, for color and for a
fair price.
It is very simple.
So let us make sure.
And what's he going to say?
And we are going to come in oray input's, OK?
We are going to come in our imports.
The thing we're going to do here is once frase import, I put something in this import.
The desire is to update's directly my states, which is here.
For example, I come here, I put something on branes, let us pull something and come here in lican
component's.
This is the foam and what I'm going to do if I try to to close this foam, you will see that these components
will be also extracted.
And if I open I'm going to head from it and click on from it.
And you're going to see you have states.
We have Bren's color in price.
And if I try to make some changes here in my input's, so the desire is to take this as inputs and to
updates automatically in our states to transfer roads.
We are putting in our inputs in our states, for example, brains to have the same value here.
So we are going to make an array from Edwards.
So this is what we call the components, control it, control it components.
That means where you are putting here in your inputs must be updated automatically in your state.
This is the first condition of your of the control components.
So let us be clear.
And to do that, we are going to call the intent it should be to make sure to respect the day six on
things like this.
And here we are going to define a narrow function in such here.
And we are going to court directly our state function that states like this and we're going to say this
input is for brains.
We are going to say brains, you are going to be equal to events.
And I think that you remember about the events, events, targets that they do.
And you are going to get what we are putting in our inputs and update it automatically in our states.
So do not forget to put also events here.
You're going to say events like this.
And if I tried to make here, this is my thumb I format, there is click on format.
I have my stats here, brains, and if I try to put something as Toyota, you're going to see it will
automatically change my state.
As you can see, this is the first condition of the controlled components.
So let us continue.
Toyota is can see I have these Tansy's here.
Very good.
So we are going to put this on since attributes everywhere.
We have inputs and we're going to put also for the Nicola.
Make sure to come here, say hello, hello, like this, we cannot put it also in our.
Price and here we are going to say price, okay, and if I make here, come on from AIDS, I have price
where you the import, if it's right to put a price like this, you're going to see a high pressure
color, I guess, say rates.
And I have it automatically here.
Branes, I have three.
You can see I'm going to have to use this is the first condition.
But any other condition is I can say a freezing in here in my state.
The default value is, for example, equal to Toyota and won't say big here.
You're going to see I'm going to have NMC inputs weigh.
Wait, I don't say I don't say this because I missed it, natural beauty, which is the village value,
is in its infancy here.
We can say value is going to be equal to states that bring, for example, Latisse.
That means every time we are putting something in our inputs, we are making some stuff.
We are we are writing something in our input.
It will automatically update by using the states that function and take this value, put it in our inputs.
And if we want to get this value
for these inputs, we must use the very attributes.
And then we are going to say this, that status brains.
And if you try to make sure you're going to see by default, we are going to get this value.
So reason why make sure to add or they attributes to completely control it components that condition.
This is what we call the control components, as you can see.
And that means every time you are putting your updating your inputs, make sure that you have to know
that your value is going to take these states OK, and it will be the value of your inputs.
So you are going to take also these.