© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
H. NaraynJust React!https://doi.org/10.1007/978-1-4842-8294-6_1

1. Time to React

Hari Narayn1  
Melbourne, VIC, Australia

As you browse the Web regularly, do you consider how reactive it is? How does it respond to you? Do you get reactions without refreshing your page? React is a JavaScript library that focuses on these reactions. This may explain its name, “React.”

In React, you can build individual user interface (UI) components. The concept of components is central to React. A component is a JavaScript class or function that can accept inputs and output a React element that describes how a section of the UI should appear. All the components you build ...

Get Just React!: Learn React the React Way 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.