The current implementation of discussions loads all messages and conversations of a user at once. If there are only a few messages and conversations, this is fine. However, a user with a lot of messages in a conversation or a lot of conversations could observe noticeable lag when loading conversations.
We should load only the first let's say 50 messages and first 20 conversations. If the user scrolls for more, we load more progressively.
The current implementation of discussions loads all messages and conversations of a user at once. If there are only a few messages and conversations, this is fine. However, a user with a lot of messages in a conversation or a lot of conversations could observe noticeable lag when loading conversations.
We should load only the first let's say 50 messages and first 20 conversations. If the user scrolls for more, we load more progressively.