|
@ -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], |
|
|
|
|
|
|
|
|