Depending on the type of thing you want to save, you can save it in a custom state. This is useful when you need your app to remember some information that you don’t need to store permanently in the database.
Custom states are reset when the page is reloaded.