From 8239de257081598f5fa61d9759cb47900e747e22 Mon Sep 17 00:00:00 2001 From: Levi Buzolic Date: Wed, 19 Aug 2015 13:50:43 +1000 Subject: [PATCH] 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. --- docs/11-advanced-performance.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/11-advanced-performance.md b/docs/11-advanced-performance.md index 1b6fe29d..e8593221 100644 --- a/docs/11-advanced-performance.md +++ b/docs/11-advanced-performance.md @@ -54,7 +54,7 @@ React.createClass({ }, render: function() { - return
this.props.value
; + return
{this.props.value}
; } }); ``` @@ -78,7 +78,7 @@ React.createClass({ }, render: function() { - return
this.props.value.foo
; + return
{this.props.value.foo}
; } }); ```