Creating your first screen
Once the development plan has been completed and we know where each component needs to go and what our application is going to look like, we're ready to create a new project. This project will set the first stones for this creative path that we've taken toward being a React-Native developer.
Let's begin by creating a new project:
- Go to your Terminal in your preferred directory and run the following command:
expo init mga
- Choose the blank template for Managed Workflow and open the project folder.
- As we mentioned previously, we'll have five different components, one of which will be the screen itself. So, let's create two different directories called
screens
andcomponents
. This will make it easier to organize when we have several different screens.It's a good rule of thumb to always have a basic structure in your head when you start coding because you never know when you might want to add more and more to...