Created
April 8, 2016 23:05
-
-
Save steamIngenius/2dcf52cde8d03dbe6a338e37f8f464c4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PureRenderMixin from 'react-addons-pure-render-mixin'; | |
export default function (target) { | |
target.prototype.shouldComponentUpdate = PureRenderMixin.shouldComponentUpdate; | |
return target; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment