@samitouri / QOS-React-2 / commits / 009f766d6e

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.

Levi Buzolic committed Aug 19, 2015 at 13:50 UTC 009f766d6e03a6af86943ceb5b1dd5614e12cbdf
1 file changed +2 -2
docs/docs/11-advanced-performance.md
+2 -2
@@ -54,7 +54,7 @@ React.createClass({
54 },
55
56 render: function() {
57 - return <div>this.props.value</div>;
57 + return <div>{this.props.value}</div>;
58 }
59 });
60 ```
@@ -78,7 +78,7 @@ React.createClass({
78 },
79
80 render: function() {
81 - return <div>this.props.value.foo</div>;
81 + return <div>{this.props.value.foo}</div>;
82 }
83 });
84 ```