UI effects (messages and commands)
Mateu allows backend methods to return UI effects executed directly in the browser.
Messages
return new Message("Saved successfully");
UI commands
return UICommand.navigateTo("/users");
Mental model
Message→ user feedbackUICommand→ browser control
👉 See the full Interaction model in Mateu →