In this chapter, we discovered many new things.
First of all, React, one more hugely popular solution for creating modern web applications. We saw that even though it looked kind of intimidating at first, we could really quickly get started using CRA and no configuration at all, and with a minimal amount of code.
We learned about JSX and how enabling it can leverage the power of JavaScript while defining components. Of course, the syntax feels a bit alien at first for anyone used to separating templates and logic, but on the other hand, we showed that JSX helps to really take advantage of our JavaScript/TypeScript skills instead of having to learn a lot of new syntax!
We saw how to write React components using classes but quickly switched to the more idiomatic functional style that the React community loves. While doing so, we saw that it enabled us to write very concise...