diff --git a/docs/tutorial.html b/docs/tutorial.html index c088823a3ba..823b9313b46 100644 --- a/docs/tutorial.html +++ b/docs/tutorial.html @@ -72,7 +72,7 @@
Fetching data from Rotten Tomatoes's API isn't really relevant to learning React Native so feel free to breeze through this section.
Add the following constants to the top of the file (typically below the requires) to create the REQUEST_URL used to request data with.
Add some initial state to our application so that we can check this.state.movies === null to determine whether the movies data has been loaded or not. We can set this data when the response comes back with this.setState({movies: moviesData}). Add this code just above the render function inside our React class.