Skip to content

Instantly share code, notes, and snippets.

@steamIngenius
Created April 8, 2016 23:05
Show Gist options
  • Save steamIngenius/2dcf52cde8d03dbe6a338e37f8f464c4 to your computer and use it in GitHub Desktop.
Save steamIngenius/2dcf52cde8d03dbe6a338e37f8f464c4 to your computer and use it in GitHub Desktop.
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