Hi,
I’m writing an app that interacts with a Firebase/Firestore database - as an example, I’ve built a simple book list on Firestore and have the app reading data from the store (a pain because Firestore has a very weird [but probably essential] way of storing JSON data) and have managed to get the app to post new books to the Firestore db. So far so good, but I’m having problems making the data_grid refresh when a new book is added. I’ve checked your pages on data_grids but nothing seems to work. I suspect that the Anvil app is too quick to retrieve that data from Firestore, so the content has not been established in Firestore yet. Have you any ideas?
You can see the app at https://anvil.works/build#clone:PGM6EKAMNPS2ZKAX=KSGPHNR4ZWD3LTZQRQU5AIRK
The firestore DB is not protected with authentication yet (decided to finish it before I do that, since authentication adds yet another layer of awkwardness).
Many thanks
Alistair
1 Like