0
0
React Nativemobile~5 mins

Project structure overview in React Native - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of the App.js file in a React Native project?
The App.js file is the main entry point of a React Native app. It defines the root component that renders the app's UI and manages navigation or state at the top level.
Click to reveal answer
beginner
What kind of files are usually found in the assets folder?
The assets folder stores static files like images, fonts, and icons that the app uses to display visuals and style.
Click to reveal answer
beginner
Why do React Native projects have a node_modules folder?
The node_modules folder contains all the external libraries and packages installed via npm or yarn that the app depends on.
Click to reveal answer
beginner
What is the role of the package.json file?
The package.json file lists the project’s dependencies, scripts, and metadata like the app name and version. It helps manage the project setup.
Click to reveal answer
beginner
Where do you usually put reusable UI components in a React Native project?
Reusable UI components are typically placed in a components folder to keep the project organized and make components easy to find and reuse.
Click to reveal answer
Which file is the main entry point of a React Native app?
Aindex.html
BApp.js
Cmain.css
Dconfig.json
Where should you put images used in your React Native app?
Anode_modules folder
Bsrc folder
Ccomponents folder
Dassets folder
What does the node_modules folder contain?
AExternal libraries and packages
BApp source code
CImage files
DConfiguration files
Which file lists your app’s dependencies and scripts?
Apackage.json
BApp.js
CREADME.md
Dindex.js
Where do you keep reusable UI components in a React Native project?
Anode_modules folder
Bassets folder
Ccomponents folder
Dconfig folder
Describe the main folders and files you find in a React Native project and their purposes.
Think about where code, images, reusable parts, and dependencies are stored.
You got /5 concepts.
    Explain why organizing your React Native project structure is important for app development.
    Consider how a tidy project helps you and others work better.
    You got /5 concepts.