Files
react.dev/content/docs/faq-structure.md
Dan Abramov 986d97788c Minor FAQ updates (#308)
* Don't use experimental syntax unless necessary

* Edit another page

* Update another page

* Unrelated bikeshed on virtual DOM

* Please, no *.jsx, we don't recommend it

* Update faq-structure.md

* Minor updates

* Update faq-ajax.md

* Update faq-functions.md

* Add binding explanation
2017-11-20 22:05:00 +00:00

460 B

id, title, permalink, layout, category
id title permalink layout category
faq-structure File Structure docs/faq-structure.html docs FAQ

One common way to structure projects is locate CSS, JS, and tests together inside folders grouped by feature or route.

FeatureA
  index.js
  ComponentA.js
  ComponentA.css
  ComponentA.test.js
  Helper.js
  Helper.test.js
FeatureB
  index.js
  ComponentB.js
  ComponentB.test.js