About lazy loading the reactions and sub threads...
I have the feeling that we should start thinking of a way to lazy load parts of the threads to keep things snappy. The reactions and comments have been going up steadily over the last years and a thread with hundreds of comments and thousands of likes will kill the app.
While we still do relatively good so far loading the whole thing at once, i think we should back up rather sooner than later. As a starting point i propose to load only the count of reactions (likes, etc.) an the direct comments with the count of replies to the comments. Clicking the likes counts would than load the likers. And clicking the replies count to the comments would load the the replies again only with counts to the replies of the replies etc...
The question remains if the queries for the count would perform any better than what we have now. Especially if 1000+ likes are involved. If not, maybe we need some sort of background caching of the various counters (not a big fan of this though). Anyway at least the rendering part should be more relaxed this way...
What do you think? Any ideas? Experiences?