This video is available to students only

Creating a loading screen

Creating a loading screen

In this lesson we are going to solve two problems with our application.

Currently when a user logs in we display a message with the user's name on the screen. Instead we should be redirecting users to the home screen of our app.

But - we don't have any screen to open yet.

Let's create a HomeScreen.js file in our screens folder. We can copy the code from StartScreen.js and make some changes. We are going to remove most of the code. Now we can export our screen.

The last thing is to add new screen to our Stack.Navigator.


This page is a preview of Creating a React Native Login

Start a new discussion. All notification go to the author.