score:3

const isRecordUnchanged = (prev, next) => {
  return prev.records.record === next.records.record
}

const connectOptions = { areStatesEqual: isRecordUnchanged }

@connect(mapStateToProps, null, null, connectOptions)

Related Query

More Query from same tag