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.
* update eslint's `comma-dangle` rule to `always-multiline`
* add check and fix scripts to package.json
* Invoke `yarn fix` to adopt the updated eslint rules. No other changes are included.
* Improve scrolling to new messages
* Experimental scrollTo with measurement
* Add search support
* Review feedback
* Added comment for moreNewMessages index`
* Fix placement of new messages separator
* Ignore your own posts when determining start of new messages
* Cache lastViewedAt in ChannelPostList until switching channels
* Increase padding around DateHeader & NewMessagesDivider
* Improve styling of new messages divider line
* Use async await for ChannelDrawerList.onSelectChannel
* Convert DateHeader to functional component
* Indicate start of new messages in posts list
* Use flag prop to indicate start of new messages in posts list
* Declare style props with View.propTypes.style