Actions
Actions are the key ingredient for adding logic to your applications, and for managing interactions with your datasources. Almost like native JavaScript functions, they are small units of code that perform a specific task. They are particularly useful for:
Reading and mutating UI component state or app state variables
Executing interactions with datasources, like fetching data from a database or API, or writing a file to an AWS S3 bucket
Triggering other actions
Sending notifications
They could be triggered by UI events which they are associated with, run immediately when the app is loaded, or run periodically at a configured interval. This section covers all you need to know about actions:
Managing actions: How to create, organize and configure actions
Execution model: The internals around how actions are executed and the data they expose after successful or unsuccessful execution
Preview: How to test actions without influencing application state
Triggers: Full overview of all events that may trigger actions to be executed
Last updated