App Component: Connecting to the Back-end
Let's learn how to connect the client to the back-end.
We'll cover the following...
We'll cover the following...
Set up the default opening state
To start, we’ll create the sign-in page as the default opening state. We do this by setting the gameStatus state property to be logged out. The `SignInScreen takes a callback function that will be called when the user clicks on the “Start a Game” button. That function must take two arguments: a user name and a language. For now, we can just accept it and log it to the console.
Installing axios
When we run this and click the button, we should see the name and language in the web console,within the web dev tools. The client now ...