Check out a free preview of the full Building Web Apps (with React, Ampersand, ES6 and Webpack) course:
The "Adding an Editing State" Lesson is part of the full, Building Web Apps (with React, Ampersand, ES6 and Webpack) course featured in this preview video. Here's what you'd learn in this lesson:

Eventually, the labels and colors will be editable. Henrik adds conditional logic to the render method inside the label item component to determine which DOM elements to return. If the item is in editing mode, a form will be returned instead of the basic mark-up.

Get Unlimited Access Now