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 9e2778ccf7
commit ce02428d84

View File

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