Structuring our application

To begin, we'll need to structure our application in the same way that we did in the first chapter. This means that we need to create two new directories called components and containers inside the src directory. The files for the App component can be moved to the container directory, and the App.test.js file can be deleted since testing hasn't been covered yet.

After creating the directories and moving the files, our application structure will look as follows:

github-portfolio|-- node_modules|-- public    |-- favicon.ico    |-- index.html    |-- manifest.json|-- src    |-- components    |-- containers    |-- App.css    |-- App.js    |-- index.css    |-- index.js    |-- serviceWorker.js.gitignorepackage.json

Don't forget to change the location ...

Get React Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.