best way to setup react app 2020 code example Example: react app using npm npx create-react-app app-name cd app-name npm start