From 70745216bdf6977884388fcf2e4a3241772222d0 Mon Sep 17 00:00:00 2001 From: Craig Iturbe Date: Sun, 17 Feb 2019 19:03:58 -0500 Subject: [PATCH] Update index.md (#27138) --- guide/english/react/installation/index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/guide/english/react/installation/index.md b/guide/english/react/installation/index.md index 1ebf2836a84..07ca56d98ec 100644 --- a/guide/english/react/installation/index.md +++ b/guide/english/react/installation/index.md @@ -14,12 +14,13 @@ For a quick and easy method of adding React to your website you could just embed However, with the above approach, you may feel limited in how far you can take React. This is where the use of toolchain is the preferred approach, with the more practical and productive [Create React App](https://github.com/facebookincubator/create-react-app): ```bash -npx create-react-app my-app +npm install -g create-react-app +create-react-app my-app cd my-app npm start ``` -This will set up your development environment so that you can use the latest JavaScript features, provide a great developer experience, and optimize your application for production. +This will set up your development environment so that you can use the latest JavaScript features, provide a great developer experience, and optimize your application for production. It sets up Webpack as a bundler, and Jest for testing. Another option is using the package `npx` which doesn't require you to install the package `create-react-app` before using it. So you can use it without installing it which is helpful for the future not to have too many packages installed on your machine.