Check out a free preview of the full Building Web Apps (with React, Ampersand, ES6 and Webpack) course:
The "Fetching User Data" 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:
Using the GitHub API, Henrik fetches the data for the current logged in user. Only properties defined in the model will be stored in the application. He also updates the model to fetch new data anytime the token is changed and when the application initially loads.