In this topic , We will understand react native expo folder structure.
If you will see above screenshot , Here are below folders and files
We will understand each folder and files in details so it will be easy for you to work on react native project. because our main goal is to clear fundamental of react native so you don’t have any issue later on to build mobile app using react native.
This “.expo” folder is created when an expo project is started using “expo start” command. There are 1 file is created “devices.json” which contains the devices information that has been recently opened for this project. As this file is specific to your machine only , you should not commit this file. and also same has been mentioned in .gitignore file as well.
In this folder, you can store images and icons for your project.
This hold all 3rd party libraries which will be used by our project.
If you are a developer and working with git then you probably already know about this file , basically this file is used for ignoring the file from pushing code to git. some files like configuration related which require to maintain environment specific should not be commited so it should be in .gitignore file
This is the main entry of app
This file is important to describing about web apps, It declares environment variables. So it will be used for configuration. So we will configure some settings and behaviour of app. This file picked up by expo for preview or building real app for app store.
It list all dependecies of your project.
It is related to package.json
Hope you like this topic and helpful for you. Please share with your friends and visit us again.