From ecc79dc6f50d2a07e22cd6d4bd07faf0253d6025 Mon Sep 17 00:00:00 2001 From: Lev Taydakov Date: Sun, 20 Sep 2015 13:48:27 -0700 Subject: [PATCH] Fix misspelling --- docs/Tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Tutorial.md b/docs/Tutorial.md index f78c01919..d1d71a663 100644 --- a/docs/Tutorial.md +++ b/docs/Tutorial.md @@ -321,7 +321,7 @@ Now modify the render function so that once we have our data it renders a ListVi }, ``` -The `DataSource` is an interface that `ListView` is using to determine which rows have changed over the course of updates. +The `dataSource` is an interface that `ListView` is using to determine which rows have changed over the course of updates. You'll notice we used `dataSource` from `this.state`. The next step is to add an empty `dataSource` to the object returned by `getInitialState`. Also, now that we're storing the data in `dataSource`, we should no longer use `this.state.movies` to avoid storing data twice. We can use boolean property of the state (`this.state.loaded`) to tell whether data fetching has finished.