How to reload components after Insertion?

After inserting data to firestore, I want to reload components automatically. Are there any ways to do that?

Hey @Kai1, depending on what you mean by reloading components, this should be possible. You can add event handlers to run when your Firestore insert query succeeds or fails. Depending on your specific use case you can control components directly

trigger queries that update the inputs of these components which will update the components themselves

run a script to modify values in your app with Javascript

and more!

A common use case for an 'on success' event handler is to show newly inserted or updated data in a table. For this use case, you can trigger the query that populates the table to run in an 'on success' event handler set on the insert query.

I hope that helps with your use case :smile: