Check out a free preview of the full Building Web Apps (with React, Ampersand, ES6 and Webpack) course:
The "Fetching User Repos" 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:
To populate the collection of repos from the GitHub api, Henrik calls the fetch() method. Similar to the the Model code, the Collection will make an XHR request to the server specified in the url property. After verifying the request is working, Henrik spends a few minutes answering questions from the audience.