11 JavaScript 4: React

Chapter Objectives

In this chapter you will learn . . .

So far in the book, there has been quite a bit of JavaScript. After three chapters you may feel that there is little new to learn as far as JavaScript is concerned. But this is, alas, not true. As you may have already experienced if you implemented one of the projects in the previous chapter, constructing complex user interfaces in JavaScript can be quite demanding. Nested callbacks, event handling, and DOM manipulations together can disconcert even a veteran programmer. For this reason, programmers often make use of a front-end framework to ease the process of working with JavaScript. This chapter covers the most popular of these frameworks: React.