Search⌘ K

React Native Directory Structure

Explore the React Native directory structure and key files that form the foundation of your mobile app. Understand where Android and Java code reside, the role of configuration files like AndroidManifest.xml and build.gradle, and how core JavaScript files like App.js and index.js launch your application. This knowledge will help you organize and debug React Native projects efficiently.

The directory structure of a React Native application is very similar to that of a standard web application.

Directory structure of a React Native application
Directory structure of a React Native application

Directories

These are some of the main and important directories and files in a React Native application.

android

This is the folder where the android project is created.

app

This is a subfolder inside the android directory. It contains all the React Native code, assets, and dependencies.

  • src: This is a subfolder
...