26 lines
460 B

8 years ago
---
id: faq-structure
title: File Structure
permalink: docs/faq-structure.html
layout: docs
category: FAQ
---
### Is there a recommended way to structure React projects?
One common way to structure projects is locate CSS, JS, and tests together inside folders grouped by feature or route.
8 years ago
```
FeatureA
index.js
ComponentA.js
ComponentA.css
8 years ago
ComponentA.test.js
Helper.js
8 years ago
Helper.test.js
FeatureB
index.js
ComponentB.js
ComponentB.test.js
8 years ago
```