kit
kit copied to clipboard
Remote Functions: Add `result` to command similar to form.
Describe the problem
Sometimes if helpful to show an error message on screen with the result of a command. This can be done with local state. But it feels a bit odds to me that form has this property and command lacks it.
Describe the proposed solution
Add result to command similar to the form function.
Alternatives considered
Setting local state or creating a client wrapper to call the command and provide some additional properties such as result.
Importance
nice to have
Additional Information
No response