Loading a RG in a messenger app

Hey guys,

I have built a messenger app but it loads the data from the first created to the last. This is not ideal as we all know with WhatsApp chats you only care about the most recent messages.

The chat data is it’s own type and the data is loaded in through a ‘current_page’s list of x’ as the chat data is linked to the original page through a list. I also created a ‘do search for chats’ however after a few tests it was clear that the list workflow was better than the do search for.

I was wondering if anyone knew how to solve this as there is a 5 second period where the chat loads which i can only assume will get longer with more in the database.

Many thanks

Tom

This topic was automatically closed after 70 days. New replies are no longer allowed.