Chapter 4

Using Data and Events in React

IN THIS CHAPTER

Bullet Handling events

Bullet Setting listeners with event attributes

Bullet Investigating the synthetic event object

Bullet Specifying and binding event handlers

Bullet Passing event handlers as props

Bullet Using event handlers in function components

Bullet Gathering data with forms

Bullet Using controlled and uncontrolled inputs

“It is the quality of the moment, not the number of days, or events, or of actors, that imports.”

—RALPH WALDO EMERSON

In Book 3, Chapter 1, I cover the React development process, which starts with a static mockup and progresses through building a static version, figuring out what is state, and implementing the state. The last step in the process is to implement ...

Get JavaScript All-in-One For Dummies 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.