
React Projects
By :

With the development environment set up, it's time to start creating the single-page application. In the preceding sections, we've already added new directories to the project. But let's recap the current structure of the project, where two of the directories within our project's root directory are important:
dist
and is where the output from Webpack's bundled version of our application can be found.src
and includes the source code of our application.Note
Another directory that can be found in the root directory of our project is called node_modules
. This is where the source files for every package that we install using npm
are placed. It is recommended you don't make any manual changes to files inside this directory.
In the following subsections, we will learn how to structure our React projects. This structure will be used in the rest of the chapters in this...