Build Apps Using React: Working with Forms
Learners can explore the basics of controlled components and uncontrolled components in this 12-video course which begins with a look at working with forms in React. Forms are used to input data on a web page; you will discover how controlled components work in forms and then move on to a two-part tutorial on controlled components for multi-input forms: part 1 on wiring up event handlers for form mutations and part 2 on synchronizing component state by using event handlers. Next discover how to wire up a single event handler for multiple inputs and how to design form elements to be individual components. This leads into testing form setup and testing the form on a web browser. Discover the need for client-side validation and how to validate data passed into forms. Compare controlled components and uncontrolled components for form data and in the final tutorial learn how to use uncontrolled components to handle file inputs in forms.