Corrected pure-render-mixin documentation
Fixed the PureRenderMixin documentation which was incorrectly importing the base React library instead of ReactWithAddons.
Vincent Riemer committed
Feb 6, 2015 at 14:34 UTC
0bf88f26a45090492bedcd49ab4f803f489d03b8
1 file changed
+1
-1
docs/docs/10.7-pure-render-mixin.md
+1
-1
@@ -11,7 +11,7 @@ If your React component's render function is "pure" (in other words, it renders
11
Example:
12
13
```js
14
-var PureRenderMixin = require('react').addons.PureRenderMixin;
14
+var PureRenderMixin = require('react/addons').addons.PureRenderMixin;
15
React.createClass({
16
mixins: [PureRenderMixin],
17