Update Advanced Performance code examples so they would output values

Noticed the code examples in *Advanced Performance* wouldn't be rendering the example props, this could lead to some minor confusion for new users.
(cherry picked from commit 009f766d6e)
This commit is contained in:
Levi Buzolic
2015-08-19 16:35:57 -07:00
committed by Ben Alpert
parent cfa922a3d7
commit b793785882
+2 -2
View File
@@ -54,7 +54,7 @@ React.createClass({
},
render: function() {
return <div>this.props.value</div>;
return <div>{this.props.value}</div>;
}
});
```
@@ -78,7 +78,7 @@ React.createClass({
},
render: function() {
return <div>this.props.value.foo</div>;
return <div>{this.props.value.foo}</div>;
}
});
```