Re-renders were occuring because of prop and state updates that created new object references, despite being of identical value. A key culprit was `postListHeight` in `PostList` which goes through a few calls to `handleContentSizeChange` when loading posts. Also, "New Messages" divider line is a pure component now (via `memo`) to reduce unnecessary re-renders here too. |
||
|---|---|---|
| .. | ||
| __snapshots__ | ||
| date_header | ||
| index.js | ||
| new_messages_divider.js | ||
| post_list.js | ||
| post_list.test.js | ||