Actions
set-state
3min
The set-state action sets the global state (also called the solution state). Multiple components and s can access the state's value across the solution. Effectively managing the global state ensures that all parts of the app that depend on this data are updated consistently. To understand how to use states, see State.
A set-state action can be set up in various ways:
- As onFocus action that will be executed.
- As onRefresh action that will be executed.
- As the main action on the , and when you press the action, the set-state action will be executed.
- The onPress and onChange actions will be executed when you trigger these events.