Connecting to SharePoint:

Web Services and Component State

In this lesson, we’ll use our newly created service class to load SharePoint REST service response data into our web part’s React component state. Using iterators, we’ll learn how to display list state within our web part render template to render SharePoint list data into the web part HTML. Along the way, we’ll implement loading indicators and handle request errors to inform users when something goes wrong.

Sample Data

  1. Lemonade-Stand-Earnings.csv
  2. Lesson Source Code
Lesson 12 of 26