React Project Structure
Inside your project directory, you’ll find a structure like this:
1 2 3 4 5 6 7 8 9 10 11 |
my-react-app/ ├── src/ │ ├── App.js │ ├── index.js │ └── ... ├── public/ │ ├── index.html │ └── ... ├── ... ├── package.json └── ... |
src/
: This directory contains your React components and application logic. The main app component is usually insrc/App.js
.public/
: This directory contains your public assets, including the HTML template (public/index.html
), which is the entry point for your React app.