Very good.
Now we're going to learn how to take the stuff from our religious, from different insights and then
stay with the standards in our database, in our membership database via our server.
So the thing we're going to do, we're going to use from here because our data will come from the phone,
OK?
And we're going to take all the records.
So let us make sure in don't chase from launches is from the chase.
Yes, from the Jersey Shore.
So I want to force you to change these components from the functional components to the classic components.
And the first thing I want to advise you is to install Axios.
What is Axios extras is a module that allows us to send request from our formatted site in a 2D back
inside, which is our server.
OK, in order to integrate, in order to talk with our database.
So the thing we're going to do here is to take away terminal RTIs, DeFries, Tamler here.
So make sure to install Axios in your Fronton site, which is a shopping cart, because Axios allows
us to allow us to send requests from the shopping carts, which is the REETTA project, to the database
via our server.
And we're going to say NPM Install.
Mr. Axios, like this space, does that save in its tracks?
Very good.
So we're going to wait for copper against the installation of Axios.
Very good access is installed successfully.
We can see now clear and run against this thing in RPM's third.
OK, and what's required, so if this thing turns this from class, I'm going to say plus from like.
Extends.
Components, OK, components, and does come here a result you're going to add components like this.
Yes, let's remove all this and make sure to take all our ireton function and put it we are where instead
of the render function, because we are using the multiclass, OK, Lutzes.
And the thing we're going to do here is to create states like we're going to have states is going to
be court through the clients because you want to have OK, so it is clear we cannot stop.
We are going to get this right here, OK?
We are going to get the name and the email, OK?
And here we are going to create our data in our states if this is going to be clients, OK, clients
by the efforts, we're going to set it through saying we're going to set you to strength e-mail or so
like this to spring.
OK, very good.
So we're trying not to we are going to use axios.
So let us call Axios weakness, say imports.
Let us import axios and we are going to create to customize our objects of not just from axios press
control space.
Yes.
Mm.
If you try to open your not modular in your shopping carts, you're going to see we have actual here.
OK, if you'll excuse.
Six.
From.
Oh, please, yes, I love these imports, okay, from Axios.
Yes, yes, like this.
OK, very good.
And here, with regard to.
We are going to create a function that's required insert data once we click on Validate Regla, say,
insert data, we're going to see insert odor handler.
It's really a natural function.
That is OK and such here are going so called Axios Lord's Post, if we want to save data and care,
if we want to save data, make sure it supports posts.
And here trying to say we are going to customize our roads, our roads and our roads is going to be
equal to.
They just come here, we're going to have the roots from the server side, like localhost, please.
Like this, HTP localhost, ends, shall we say, save, or you'll say insert, we're going to use what
we have inserts.
OK, this is the first perimeter and the second one is going to be like this.
So what's written up here in Insights, we are going to put information about what we are going to transfer
in our server side.
We have first for the client and the client is going to be equal to this state state lines.
And the second is email.
E-mail is going to be equal to this dot state dot e-mail and the loss is cut and cut is not here so
hard to get cut?
We are going to make our case if you try to scroll down here, Rischard, we have the original form
here where you can see where you know, it gets cut.
We have to take this dot that those cuts items like cuts items, because here we have the items here.
OK, yes.
Here cuts items.
So are we going to come here?
Just click on view.
Go right there.
Go like this.
Where we have integrated because we want to transfer our health, yes, we we want to transfer our records
items to different components.
OK, and here we're going to say Katrina creates a problem that's going on, then cuts and see, we're
going to states, these states that cover items like this and we are going to take this and discard
is an object like the process we have created here.
And we are going to back away from those years.
And what we're going to say, we want to see these dots, props, dot cards, and it is an object in
order to convert this object to an array, what's required.
So we are going to say objects, dot values.
OK.
At this ends, we're going to put our props in such you're OK and we are going to get out of this,
so make sure to go back in your order.
So here we have it, all allergies.
So I'm going to advise you through the this, OK?
We are going to want to get our records, OK?
So we're going to recreate this, OK, ends here in order to test make sure to change the top of your
cards from spring to a rate type like this.
Very good.
Save a little bit from the chase.
You can see this is the request insert or the handler and record Axios and Axios allows us to send request,
OK, by using our link here.
OK, from the front inside through the back inside, which is our server, in order to insert really
itself from inserts, let's read data or updates from Modiba like a. object values.
OK, so how to do it.
Want to get it to translate the values in our state.
It is very simple.
We have already talked about it.
I'm going to come first.
All our inputs were here and then.
Rodef name, and I'm going to call what's the only since it should be I and what I say on things like
this.
OK, very simple.
And in such here we we're going to create a new function, having events as parameter and hiragana saying.
Hmm.
This week, not said.
These thoughts that.
Cichlids.
Noctis.
Very good.
And we're going to say clients like you can put it in one line, OK?
Client is going to be the courtroom.