NA +91-8727899942 thecoderjob@gmail.com

CHAPTER - 4

React native app file and folder structure.

Here's a commonly used file structure for a React Native application :

Explanation:

  • /android and /ios: Native Android and iOS code respectively. You usually won't need to touch these directories unless you're doing platform-specific development.

  • /assets: Contains static assets like images, fonts, and other media.

  • /src: This is where most of your application code resides.

  • /components: Reusable UI components.
  • /screens: Individual screens or views for your app.
  • /navigation: Navigation configuration and setup.
  • /redux: Redux setup for state management (if using Redux).
  • /utils: Utility functions, helper methods, and constants.
  • /test: Contains test files for unit and integration testing.

  • package.json: Lists project dependencies and scripts for running tasks like starting the app, building, or testing.

  • README.md: Project documentation detailing setup, usage, and other important information.

Chapter 3

Make First Program in react native.

Previous chapter

Chapter 5

Basics of View, Text and Button UI example in react native

Next chapter

Get In Touch

NA

thecoderjob@gmail.com

+91-8727899942

Popular Links

© www.thecoderjob.com. All Rights Reserved.               Designed by HTML Codex