Browse Source

Fix link to `PureComponent` in docs (#8375)

main
Simen Bekkhus 8 years ago
committed by Dan Abramov
parent
commit
5df573a518
  1. 2
      docs/reference-pure-render-mixin.md

2
docs/reference-pure-render-mixin.md

@ -8,7 +8,7 @@ permalink: docs/pure-render-mixin.html
> Note
> The `PureRenderMixin` mixin predates `React.PureComponent`. This reference doc is provided for legacy purposes, and you should consider using [`React.PureComponent`](/react/docs/component-api.html#react.purecomponent) instead.
> The `PureRenderMixin` mixin predates `React.PureComponent`. This reference doc is provided for legacy purposes, and you should consider using [`React.PureComponent`](/react/docs/react-api.html#react.purecomponent) instead.
If your React component's render function renders the same result given the same props and state, you can use this mixin for a performance boost in some cases.

Loading…
Cancel
Save