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 ( + + ); } } ```