Closed SherylHohman closed 6 years ago
Comments.js line 143
Suggestion: refactor this bit of code from render() to its own method.
From Reviewer 2 (#5 of 8): ... render ...
{comments.filter((comment) => !comment.deleted && !comment.parentDeleted) .sort((commentA, commentB) => { if (commentA === commentB) return 0; if (commentA.timestamp < commentB.timestamp) return 1; return -1; }) .map(...) ...
Agreed !
Comments.js line 143
Suggestion: refactor this bit of code from render() to its own method.
From Reviewer 2 (#5 of 8): ... render ...