The major use of the use court back is to be aware and to focus on recreate created even though it is.
It should not be rebranded to demonstrate base.
We are going to be a tool conquerors and also to increment functions.
So first we are going to add that use callback and also they use state
and we do not need the logo and also DDT unnecessary code.
And then we are going to create a two state about the to conquer.
One is
Tong the other set com.
And then the U.S. State we said that initial state is zero and then we duplicate and we set to come
to and second two.
And then we create a function this one needs a increment one each the increment to increment the Congo
one and the other is increment 2.
And this is going to start the come to buy one.
Now we are going to add a very simple UI that can display these count and come to and also the on tech
functions to trigger the increment and also days increment to to increase the contact to so we can pass
on the website by using NPM stock.
We should use the second to here.
So we may try the website both of them can increase the number by 1 but actually there is some problems.
If you care about the performance because actually these two functions is we created even those like
you are passing increment to the increment one functions.
We have stated we created in order to take a look.
On this we are going to create a new set but by the way location set actually set is similar to a way
but we cannot have duplicate element.
For example we create the my set is equal to do that and then we can add the element.
Nope I put it by ad like we can add 60 and we can add 50.
You can add anything even objects like you can add the name is we add but there is problem when you
add the 50.
If we will not at this because we already have 50 these elements.
But we can add five.
So this is they set.
So now we are going to add the function is to the set.
If this is we create it so we can type function in time to add increment and we can also add increment
to add in order to let us know the name of the function we are going to use to call in so long.
So this time we are going to use NPM 1 bill.
Otherwise it will duplicate the console log but we forgot to add the console the function time to and
then we run the NPM run build and then we copy this command and page it here.
Then we pick on this consumer and we click on these functions to see when we first went to the website.
It also creates these two functions that one is increment and the other is increment 2.
But when we click on the Concord one the increment tool also we create it again.
And as you can see we already set a set.
We will not have duplicate but we have to increment 2.
This is because this is a new function in this.
So in order to increase the performance we should add that use call bad.
For example we can use Corp add to optimize all functions and then we can let the fun just know that
we only depends on cotton too
and then we try to be a in them and we pass the increased tongue to it we'll created to see is very
normal.
And now when you compare two a days it only render the increment one rather than increment to.
You can see the increment to.
We will not be we created to make it clear we can pass keep pressing the count of one and we adjust
the equator increment one rather than also weekly A.D. increment two.
So this is how we use call bat use.