15. Setting Up Your React Development Environment
The last major React-related topic we look at is less about React and more about setting up your development environment to build a React app. Up until now, we’ve been building our React apps by including a few script files:
<script src="https://email@example.com/dist/react.js"></script> <script src="https://firstname.lastname@example.org/dist/react-dom.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min. js"></script>
These script files not only loaded the React libraries, but they also loaded Babel to help our browser do what needs to be done when it encountered bizarre things like JSX (see Figure 15-1).