Create Project
To create new project in react native, type and execute below command in command line,
npx react-native init sampleapp
When we execute above command, the react native will download template and some things which are needed to develop react native app. If react-native package is not installed on your system
It will ask like below,
>npx react-native init sampleapp
Need to install the following packages:
react-native
Ok to proceed? (y) y
Once you enter 'y' value, then it will download react-native package and installed it. After that, it will automatically download respect react native template for our project
Project Structure
The project structure of react native look like below,
We will discuss further on upcoming section.