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 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.