addons/shallowCompare.js
function shallowCompare(instance, nextProps, nextState) {
  return (
    !shallowEqual(instance.props, nextProps) ||
    !shallowEqual(instance.state, nextState)
  );
}
function shallowCompare(instance, nextProps, nextState) {
  return (
    !shallowEqual(instance.props, nextProps) ||
    !shallowEqual(instance.state, nextState)
  );
}
function shallowCompare ( instance , nextProps , nextState ) { return ( ! shallowEqual ( instance . props , nextProps ) || ! shallowEqual ( instance . state , nextState ) ) ; }
Does a shallow comparison for props and state.
See ReactComponentWithPureRenderMixin
Does a shallow comparison for props and state . See ReactComponentWithPureRenderMixin