From 584a7c5f1c018bb4e47fc0dd2f4ba6357320e7be 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/docs/tutorial.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/tutorial.md b/docs/docs/tutorial.md index 4ace243ee8..621b514f5b 100644 --- a/docs/docs/tutorial.md +++ b/docs/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.