Chapter 7. Working with forms in React
This chapter covers
- Defining forms and form elements
- Capturing data changes
- Using references to access data
- Alternative approaches for capturing user-input data from form elements
- Setting default values for form elements
Thus far, you’ve learned about events, states, component composition, and other important React topics, features, and concepts. But aside from capturing user events, I haven’t covered how to capture text input and input via other form elements like input, textarea, and option. Working with them is paramount to web development, because they allow your applications to receive data (such as text) and actions (such as clicks) from users.
This chapter refers to pretty much everything ...