Indeed, we are going to show how good to use to use contest the contest, provide a way to pass the
time through the computer entries without having to pass the props on manually at every level of them
to cook.
Here you can see we already have to use a contest provided that Ropp the components of home and also
chat so we can post a user and set user to these two components.
And now we are going to add the functions to change the user.
So we plan to use the last thought in Mongo DB.
We will have to name, email, password and ID.
So now we go to the home and create these two function.
One is.
John.
And we create a object with them is equal to John.
And email is equal to John.
That email com and password is equal to one, two, three, and the IP we use the same number is one,
two, three.
And since at last, we have to set the use strong, so we have to use to use content, so we have to
enforce the use contest if we add.
So we also need to in order to use a contest
from.
The other contest, so now we can use that, we should use all 10 user and that user is Pekoe to use
contest user contest.
And we use it and to ask John.
And then here we use as.
And we should have a different password and IP, so we change this to four, five, six.
Until on the street, if I use her, this used a to to spread a user, and because we want to show that
at last the user at home page and chat is the same.
So we also create two buttons.
And then we buy the functions.
And then we create a pattern to go to the chat, so we used the link to rob these buttons, so we have
to import the link from we at Rotterdam.
So we put the link here and we type to the chat because we already said the route, if this is Chad,
because will go to the chat component.
So we go to the chat page and we already do the same things or similar things at that chat.
So we copy this and go to the chat and we paste this one.
And we also need to consume the contents.
So we copy paste and go to the chad and page here, the House.
We want to display the user.
So we copied and pasted here.
Of course, we changed back to check.
And also, we want to go back to the home, so we copied this button and put it inside.
Dave.
And we just used to forget that.
And go to home.
So now we can go to the Web to see whether it goes correct.
So now at this stage you can see the U.S.A. Now we can ask John and we can go to chat.
Now, you can see the page already go to the chat, but you can see the user is John.
Now, if we used that as Tom and go to Chad again, this would also be Tom.
So the current user will not be changed no matter how you go to which page.