mattermost-mobile/app/components/post_list
Amit Uttam 26df779330
MM-22253 Reduce unnecessary re-renders in channel switching (#3900)
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.
2020-02-07 14:13:44 -07:00
..
__snapshots__ MM-21342 Fix leading zero on post by using react-intl by default and fallback to moment-timezone for unsupported locale (#3797) 2020-01-13 20:12:51 -03:00
date_header MM-18466 Change recent date separators to yesterday/today (#3245) 2019-09-14 07:02:51 -03:00
index.js [MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal (#3298) 2019-09-25 15:23:45 -07:00
new_messages_divider.js MM-22253 Reduce unnecessary re-renders in channel switching (#3900) 2020-02-07 14:13:44 -07:00
post_list.js MM-22253 Reduce unnecessary re-renders in channel switching (#3900) 2020-02-07 14:13:44 -07:00
post_list.test.js Set default app scheme to mattermost (#3827) 2020-01-20 16:14:19 -03:00