Every application has some kind of runtime “state” and Buttonize apps are no exception.
When an app is loaded it starts with an empty state. Once the browser tab is closed or refreshed, the state is destroyed.
Every Input
component stores some data in the runtime state. You can learn more in the “Runtime State” section of each component.
You can access the runtime state value in your app by using variable expressions.
Example
Initial State
You can define a set of Actions that will be invoked once the page loads.
This can be useful when you need to pre-fetch data that will be displayed to the user like for example dynamic options for select box.
Example