Points to and points to.
Ed Endre function, which has three parameters, so leaders make Cureton away from Edds, we are going
to say Zis states dot brandee.
Like these.
This DOD state, DOD color, this DOD state, DOD price, okay, and I'm going to take all this information
and then if I try to come in cardiologist's, I can't print all this.
That means these different parameters.
As you can see, I have called this and this is a current that I have called this function with all
is execution to detailed components.
And here I'm going to say, for example, I'm going to put this different console like I'm going to
say console, like I'm going to say branes.
Consolo Collo.
So look here, I have price, you know, excuse me, we're going to say price, make sure to put pressure,
OK, so we are going to take this function by using props, take this function, this function, transfer
this function from Cartagena's to form a doges ends here.
You can see we have it here and we are going to have our execution here.
This is the importance of props.
You can also transfer a function from a power, its component to its components.
Or you can take data from a parent's component to the touch components data from our states, for example.
And if I tried to make sure and full and feel something in my inputs, click on Validate, you're going
to see it's automatically displayed Toyota.
Right, OK, and you can see this is the execution of Ebtekar hands, right?
We take this function, we transfer dysfunction.
So the form looks at.
And once we click on this validates and we are in the validation hands, right, and said here we are
going to call this Proops, which points to the edge, can drive a Ebtekar in their function.
OK, so very interesting in that I think that's just very interesting.
So what are we going to do here?
We are going to back to the cars and here we are going to add the new list in our Micheal's, which
is here.
So it is very simple.
So do not forget who we are going to remove all these.
What's he going to say here?
We're going to say new cost, please.
I'm glad you defund it, Constance.
I'm going to call disconcerts new car, because we want to get in your car and we're going to say new
car is going to be called to like this.
Got take.
At least that's Raegan up a Porsche, you can see.
The first thing is going to be aid is going to be equal to last IJI.
Plus one, OK, as you can see, we are going to take less idea which is here, plus one is three and
we're going to add one and we're going to have four.
OK, this is the idea.
So here, some stick here.
We're going to say this is the state, not AIG, plus one.
OK, if they and think is the brains and the brain is going to be.
This branch here, this perimeter here, OK, and was a Rud's you're going to see, it will be.
Blier.
It is clear no.
And I always say hello.
And so we are going to take this call.
Which is our perimeter, and we're going to take also the price.
Going to say price.
But he's OK, you know, set for us like this.
This is a new car and we're going to take this information and we are going to add it in all my cars,
which is in our state.
The second thing we're going to do is to make a copy in order to respect the immutability condition,
in order to not in order to mutate our state directly.
We are going to say const.
New cars here in plural, because we are going to copy.
The state will use this parade, not state, though, it's my car that is.
And after that, with regard to you're going to take this copy, new cars, OK, we're going to say
a lot and we're going to say push.
We're going to call the push function and we are going to say new car.
We're going to put our new car in Cingular here, that is, and affiliate that's going call it these
six states function.
What's we're going to do, we are going to say my car is going to be equal to new cars in pleura and
then we can eat something like an update.
That's the last idea is going to be equal to four because the last that the last idea of these elements
is going to be called for.
And we are going to come here.
We're going to say last it's.
Is going to be equal to previous states, Dods.
Last IJI plus one.
OK, so here we going to make.
Three states.
OK, as you can see.
Put it like this and make sure to put this call Brace's.
These car in brackets like this.
Very good, and then we can try to make here.
Pick your brains.
I want to say Putzel.
It has called for certain components.
I heard from a patrol caller raised price.
OK, we have it here and click on Validate.
Very good.
You can see we have a new input.
We have a new car.
OK, if you try to click validate, you're going also to have in order.
Very good.
So what's required to know and it's going to see once you click on validates, we still have this value
here.
So the design is to clear all these inputs in order to have empty inputs after validating our form.
So the thing we got to we are going to make our form add doges k.
After adding car, we are going to see this.
That said, states, we are going to court these states and we're going to see.
Branes.
He's going to be a call to MTV.
Do we have color, he's going to be equal to empty.
Will we share price?
Press is going also to be equal to and it as reloads.
Click on patrol raids, price reconsolidate, and all your inputs are clear and we are using different
insight, that means every time you want to reload, you're going to lose all front-end information.
This information appears to appear because it is by default in our areas here in our area, which is
our cost, that is.
Here and you can see here and every time you reload this page, you're going to lose all information
you have here because we are in the front and sites, we don't talk about the database.
Let us reload and we are going to lose all this information.
So I don't we're going to do here is once you add some things right.
For example, press the desire is once you click on validates, the desire is to close this phone,
OK?
Click on Validate.
So the desire is to close this phone.
So once we got to, we are going to make our apologies and we are going to attack or so, uh.
We are going to take our story is from Ben.
And here he.
The states, we are going to create a new perhaps that's where you're going to call Glaus.
From this.
And clothes from we take these dogs.
It cut, it cut and dry.
Yes, we have it can't function in upper approaches and we are going to take these props.
Come here.
OK, that means if we call these props, it will automatically it taints the state office is open.
If it was true, its redirect tend to force and then we can't close automatically our form.
And we're going to take these props here, close form.
We're going to copy.
We're going to come in our Constance's.
After adding a car in our air and we are going to call dysfunction dysfunction, we're going to say
these dots probe's thoughts, these.
Phone.
Make sure to put like to this effect that it is a function and let us come here.
It's something we can say patrol color, rate rise, reconsolidate.
OK, we have a subsidy to add something in our list of cars in the form is lost.