Creating the client-side build process

Our first step, on the client, is to introduce React and a supporting toolset that can aid us in development. In the old days of web development, it was, and arguably still is, entirely possible to build things without complicated tools and build steps. In times past, we were able to simply create an HTML page, include any third-party dependencies inline, and then begin writing our JavaScript without having to worry about anything else:

<body>  ... Content  <script src="//example.org/libraryFoo.js"></script>  <script src="//example.org/libraryBaz.js"></script>  <script>    // Our JavaScript code...  </script></body>

Technically we can still do this. Even when using modern frontend frameworks such as React, ...

Get Clean Code in JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.