CHAPTER 2

image

Inside the DOM Abstraction

In the previous chapter, you saw that React abstracts away the DOM, providing a simpler programming model, better performance, and the possibility to render components on the server and even power native mobile apps.

This chapter will cover JSX, the JavaScript language extension used to describe the UI.

Events in React

React implements a synthetic event system that brings consistency and high performance to React applications and interfaces.

It achieves consistency by normalizing events so that they have the same properties across different browsers and platforms.

It achieves high performance by automatically ...

Get Pro React now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.