Optimize loading

Hi everyone,

I am building an app which has kind of a social media part where you can post message and share content, the problem I have right now is that when the page is loaded you can briefly see what the structure looks like when there is no content.

There is a short time when you can see the border of all these groups before on of the content is loaded ( what you see in the screenshot can’t happen because i’m only letting the user share one thing at a time)

Once it’s loaded it looks that way :

Here is how the data is accessed :



Any idea on how I could improve this ?

Have a nice day :slight_smile: