Creating a React app
In this section, we'll create a web application using React. We'll use React because it's the most popular frontend framework, and is used by many real-world applications. By using React, we'll ensure that our frontend development workflow with Windows Terminal can handle real-world scenarios.
To get started, we'll use the create-react-app generator to create our initial application. This generator will install the required Node.js packages into our project and create a basic starting point for us. From Windows Terminal, open a new Ubuntu tab, navigate to the home directory, and run the following command:
npx create-react-app my-app
The npx tool, provided by our Node.js installation, will install the create-react-app
package, and then immediately execute this tool at the command line. It will download a large number of dependencies, so it may take a while on slower network connections. When it's done, we'll have our basic...