Preparing the new project

 The React app that gets generated using the Create React App tool comes with a lot of features. For the purpose of this chapter, we only need to write a simple React app; here is how the generated app folder structure looks:

In this chapter, we'll mainly focus on building a simple React app, so we don't need some of the fancy features that come with the generated app. To simplify things, let's delete all the files and folders inside the src folder of the generated app. After that, let's just create a single empty JavaScript file called index.js. Here is how this will look:

Perfect—now, we are ready to write our ...

Get Hands-On Full Stack Development with Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.