Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f005189

Browse files
jimfbzpao
authored andcommitted
Merge pull request facebook#3078 from vincentriemer/patch-1
Fixed pure-render-mixin documentation
1 parent 788c118 commit f005189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/10.7-pure-render-mixin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ If your React component's render function is "pure" (in other words, it renders
1111
Example:
1212

1313
```js
14-
var PureRenderMixin = require('react').addons.PureRenderMixin;
14+
var PureRenderMixin = require('react/addons').addons.PureRenderMixin;
1515
React.createClass({
1616
mixins: [PureRenderMixin],
1717

0 commit comments

Comments
 (0)