Check out a free preview of the full Building Web Apps (with React, Ampersand, ES6 and Webpack) course:
The "Sending Updates to Github, part 1" 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:
With the form fully implemented to edit labels and colors, Henrik adds an extra XHR request to the model to send the updated data to Github. If there’s an error when sending the request, Henrik makes sure to manually set the current state to the new values.