Add buttons to your views to update the data in your app
RunButton
component lets users manually refetch the contents of a query, or a group of queries, by clicking a button.
See Refetching a query for more information on how queries are fetched.
RunButton
component, simply add it to any view like this:
users
query when the button is clicked, and it will reactively update the view with the results.
Finally, you can specify an array of queries to run:
users
and transactions
queries when the button is clicked, and it will update the view accordingly.