This commit is contained in:
Luke Barnard 2016-12-15 13:16:36 +00:00
parent 86739e7d1e
commit e7564f4dc5

View file

@ -297,7 +297,7 @@ module.exports = React.createClass({
if (isMembershipChange(mxEv)) { if (isMembershipChange(mxEv)) {
let ts1 = mxEv.getTs(); let ts1 = mxEv.getTs();
// Ensure that the key of the MemberEventListSummary does not change with new // Ensure that the key of the MemberEventListSummary does not change with new
// member events. This will prevent it from being re-created necessarily, and // member events. This will prevent it from being re-created unnecessarily, and
// instead will allow new props to be provided. In turn, the shouldComponentUpdate // instead will allow new props to be provided. In turn, the shouldComponentUpdate
// method on MELS can be used to prevent unnecessary renderings. // method on MELS can be used to prevent unnecessary renderings.
// `prevEvent` at this point is a non-member event or null. // `prevEvent` at this point is a non-member event or null.