This mixin replaces the PureRenderMixin when using facebook/immutable-js library with React
This mixin implements shouldComponentUpdate method using prop and state equality with Immutable.is().
var ImmutableRenderMixin = require('react-immutable-render-mixin')
React.createClass({
mixins: [ImmutableRenderMixin],
render: function() {
return <div className={this.props.className}>foo</div>;
}
});