Slack isn’t infinite. At some point there are no more old messages or no more new messages depending on which way you’re scrolling.
The problem is infinite content.
Pagination works just as well with infinite content.
Pagination works just as well with infinite content.