From afd02b47e48b1214b99c9894bbb6b6221ff27cd2 Mon Sep 17 00:00:00 2001 From: Frankie Bagnardi Date: Mon, 14 Sep 2015 20:21:52 -0700 Subject: [PATCH] Clarifies "Fetching from the server" --- docs/tutorial.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/tutorial.md b/docs/tutorial.md index 4ace243ee..621b514f5 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -347,6 +347,8 @@ React.render( This component is different from the prior components because it will have to re-render itself. The component won't have any data until the request from the server comes back, at which point the component may need to render some new comments. +Note: the code will not be working at this step. + ### Reactive state So far, based on its props, each component has rendered itself once. `props` are immutable: they are passed from the parent and are "owned" by the parent. To implement interactions, we introduce mutable **state** to the component. `this.state` is private to the component and can be changed by calling `this.setState()`. When the state updates, the component re-renders itself.