The idea is going to be equal to this, that states those less duties zero for the first 10 plus one,
and you're going to have an equal to one.
But once you reload your page like.
As we need to put the local storage for our last iji, the last, it is going to be set to zero and
that's mean if you want to insert it is through because your data is going to be kept in your microns.
And if you want to insert the station value, you are going to get collision confusion.
You're going to have two elements in the same table with the same key because the last side is going
to be also equal to one.
And you're going to get a problem where in our table here you can see here we have car and you can't
not side.
You are going to have two elements in the same table, OK, with the same idea.
And you're going to get problems here.
So let us.
Right, OK, we have inserted a value and let us on this page and add another.
We're going to say Basra is Raed.
Latticed and click on the delegates.
OK, this is a real concern, but we have this problem and contrary to children with the same key,
which is one, OK, let us try to reload.
OK, so we must avoid this problem.
OK, so the first thing we need in order to avoid this problem is to let first of all this data or OK,
to delete all the data and make the local storage also for the deletion, because if they try to delay
it and click on reloads, I'm going to get what I had before.
So I need to put also the local storage in our delete function.
And here I'm going to back I'm going to come here already.
Ebtekar Endler.
I'm going to take the same set.
I in the same local story that I have put in my ID Endler function, I'm going to copy and I'm going
to come here in our dilates to handle just after sitting state and we say and I'm going to put the same
new course, you will see I have the same constants and it will be the same, it will wake's because
I'm going to get the same thing here after deletion, OK, after deleting my car from the table and
it will update these local storage will also be updated because I'm going to get my local storage here.
It really works perfectly.
So let us make here and click on the like.
Just close here Reloj speech.
Very good.
Click here.
Reload this page.
Very good.
So we must solve this problem.
The problem of ID.
So what we're gonna do, we are going to do the same thing in Red Car Endler for the last because we
are finished with Micheal's which is new cars here.
And let us copy, we are going to do the same thing with the last side.
And here we're going to say we are going to create a state that's Reglan less iji.
And secondly, we are going to let us come up here and we are going to create a constants.
OK, we're going to say a Konstanz redundant name.
This Konstanz costs and.
Last igy that this.
Last is going to be equal to this state as though it lasts IGY plus one like this.
OK, and so we're going to get this value, which is lost IJI.
We're going to put it here, OK, this is a constant this and you can see we need also to get this item
here copy, which is, Heidi, in order to.
It's not a receipt.
I will pass it to zero, even if we reload the page, I'm going to say, look, our storage does gets.
I said, OK, do we have a state system?
OK, do we have any elements, do we have any elements?
Which is the last idea?
OK.
Which is what we have is that you have a state system, which is the last I'd OK.
OK, ladies, and we're going to say a question, OK, can we get.
Yes, yes, if true.
And I'm going to say Jason.
OK, this is a health care column, and I want to say pass.
Look to reach out and get it.
OK, and here I want to say, hmm, I'm going to put my last idea here.
Copy a pass here.
Last I said, very good.
And I have it.
OK, and once I try to make here, just reload this page.
Reloads.
Liqueur.
To.
Raed.
For us to consolidate, very good, I try to reload.
Nothing happened.
And I reload.
So then I'm going to add the second they look to see if the left side is going to be reset to zero or
not.
OK, I'm going to add in the value of the reloading the page.
I'm going to say Mazda.
Caller.
Blake.
The price.
Consolidate very good and no.
All that a country to children having the same key, very good.
And once they too late.
OK, I love this speech.
OK, I tried to reload this page, so I try to add another.
I'm going to say Butwell reads.
And click on it's no problem.
Very good.
So if I tried, for example, to make here click on edit.
A tense my fifty thousand dollars through seventy thousand dollar update.
The update is done, and once we load this page and I'm going to lose this update, so we have to do
also is something the local storage also for our updates.
OK, we are going to come where we have updated updates.
And so we are going to take the same calls, the same line.
We are going to take this line, local stories we cannot copy.
And let us scroll down here.
We're going to put it just here.
And we are going to say here we have new cars or new cars.
Very good.
So we are going to get the same thing because if we try to update, we are going to sit in some with
these new cars, OK, in which we have updates and it will automatically update also our cars.
Let us back here and come here, put seventy thousand dollars, click on updates and come here and reload
your page.
Very good.