From b646c386b841939a93b79b9a2c82bab16933ed20 Mon Sep 17 00:00:00 2001 From: Szymon Nowicki Date: Sat, 16 Dec 2017 12:26:57 +0100 Subject: [PATCH] Rolled back empty line removal. --- content/docs/reference-react.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/docs/reference-react.md b/content/docs/reference-react.md index 1c9eadf9..05e09d87 100644 --- a/content/docs/reference-react.md +++ b/content/docs/reference-react.md @@ -70,6 +70,7 @@ See the [React.Component API Reference](/docs/react-component.html) for a list o * * * ### `React.PureComponent` + `React.PureComponent` is similar to [`React.Component`](#reactcomponent). The difference between them is that [`React.Component`](#reactcomponent) doesn't implement [`shouldComponentUpdate()`](/docs/react-component.html#shouldcomponentupdate), but `React.PureComponent` implements it with a shallow prop and state comparison. If your React component's `render()` function renders the same result given the same props and state, you can use `React.PureComponent` for a performance boost in some cases.