Browse Source

Merge pull request #5073 from mfunkie/patch-2

Update Pure Render Mixin docs to point to new npm package
main
Paul O’Shannessy 9 years ago
parent
commit
ef347790a0
  1. 2
      docs/10.8-pure-render-mixin.md

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

@ -11,7 +11,7 @@ If your React component's render function is "pure" (in other words, it renders
Example: Example:
```js ```js
var PureRenderMixin = require('react/addons').addons.PureRenderMixin; var PureRenderMixin = require('react-addons-pure-render-mixin');
React.createClass({ React.createClass({
mixins: [PureRenderMixin], mixins: [PureRenderMixin],

Loading…
Cancel
Save