From ab12949031ef586f94e62e29b3f4cb38c43e5a18 Mon Sep 17 00:00:00 2001 From: lucas Date: Thu, 1 Dec 2016 19:17:49 -0300 Subject: [PATCH] Add return to render --- docs/optimizing-performance.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/optimizing-performance.md b/docs/optimizing-performance.md index 91c5d515..a80193fe 100644 --- a/docs/optimizing-performance.md +++ b/docs/optimizing-performance.md @@ -79,11 +79,13 @@ class CounterButton extends React.Component { } render() { - + return ( + + ); } } ``` @@ -98,11 +100,13 @@ class CounterButton extends React.PureComponent { } render() { - + return ( + + ); } } ```