Corrected pure-render-mixin documentation

Fixed the PureRenderMixin documentation which was incorrectly importing the base React library instead of ReactWithAddons.
This commit is contained in:
Vincent Riemer
2015-02-06 14:34:09 -05:00
parent 007207bac4
commit 0bf88f26a4
+1 -1
View File
@@ -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.PureRenderMixin; var PureRenderMixin = require('react/addons').addons.PureRenderMixin;
React.createClass({ React.createClass({
mixins: [PureRenderMixin], mixins: [PureRenderMixin],