If you don't have Git installed, see these instructions for installing Git for your platform.Īfter installing Git, we recommend restarting your computer. The app in this chapter requires Git to install some third-party libraries. If a version number is not printed out and you receive an error, make sure to download a Node.js installer that includes npm. To check if npm is available as a part of our development environment, we can open a terminal window and type: The Node Package Manager (npm for short) is installed as a part of Node.js. Installing Node.js via Homebrew is known to cause some issues. If you're on a Mac, your best bet is to install Node.js directly from the Node.js website instead of through another package manager (like Homebrew). There are a couple different ways you can install Node.js so please refer to the Node.js website for detailed information: Node.js and npmįor all the projects in this book, we'll need to make sure we have a working Node.js development environment along with npm. If you don't already have a preferred editor, we recommend installing VS Code. Setting up your development environment Code editorĪs you'll be writing code throughout this book, you'll need to make sure you have a code editor you're comfortable working with. ![]() ![]() We take a deeper look at concepts covered in this section throughout the book. We'll focus on getting our React app up and running fast. Thanks to React's core simplicity, by the end of the chapter you'll already be well on your way to writing a variety of fast, dynamic interfaces. You'll become familiar with how React approaches front-end development and all the fundamentals necessary to build an interactive React app from start to finish. In this chapter, you're going to get a crash course on React by building a simple voting application inspired by Product Hunt. Your first React Web Application Building Product Hunt
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |