Chapter 5. Working with forms in React
This chapter covers
- Using forms in React
- Controlled and uncontrolled form components in React
- Validating and sanitizing data in React
By this point, you’ve gotten some basics for building simple components with React: lifecycle hooks, PropTypes, and much of the top-level component API. You’ve had a taste of the fundamentals and can do basic things like update local component state and pass data between components using props. You’ve also been introduced to component structure, ways to think in terms of components, and lifecycle methods.
In this chapter, you’ll put more of that knowledge to work and really start building out the sample app, Letters Social. You’ll be creating a component that users can ...
Get React in Action 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.