An action that transforms state in response to events.
Actions can contain:
set- Set a state field to a value using @field syntaxrun- Execute a function that returns updated assignseffect- Run a side effectsubmit- Submit a form (async, with on_error branching)navigate- Navigate to a URL on successflash- Show a flash message on successinvoke- Invoke an action on a child component