Chapter 6. Handling events in React
This chapter covers
- Working with DOM events in React
- Responding to DOM events that aren’t supported by React
- Integrating React with other libraries: jQuery UI events
So far, you’ve learned how to render UIs that have zero user interaction. In other words, you’re just displaying data. For example, you’ve built a clock that doesn’t accept user inputs, such as setting the time zone.
Most of the time, you don’t have static UIs; you need to build elements that are smart enough to respond to user actions. How do you respond to user actions such as clicking and dragging a mouse?
This chapter provides the solution to how to handle events in React. Then, in chapter 7, you’ll apply this knowledge of events to ...
Get React Quickly 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.