#Refreshing html page with realtime firestore data

5 messages · Page 1 of 1 (latest)

bronze stone
#

I'm creating a simple webchat with astro and a firestore database. I'm able to retrieve docs from the database and I have already setup both a message board and the message components. However, I'm at a loss: I can load the page with the correct components by taking the info I need from the databse, but whenever somebody sends a new message to the backend I have no way to refresh the html content or to add a new message component

#

Do you think I should be using a component framework?

timid violet
bronze stone
#

how can I refresh my html with svelte?

bronze stone
#

I've found a way to do that, but I cannot use svelte syntax in a .astro file right?