DEV Community

Dillon
Dillon

Posted on

React Application Structure

For the most part, React apps have a common structure.

  1. index.js This is best thought of as a the place where the first bit of code is executed. You also call createRoot and render from react-dom here.

This file typically renders

  1. App.js This is kind of the floor plan or the schematics of the app.
  2. Modules

Top comments (0)