Having trouble to update data in my messaging app

Hey everyone,

I’m trying to code a messaging app and i’m having trouble updating the screen whenever someone sends me a message: I need refresh my page everytime to get to see my new messages (I’m using Xano as database)

If anyone can help i’d be appreciated !

Thanks :slight_smile: