Seed useAction with a preloaded result: result.data is populated while idle, and reset() restores the seeded value (even mid-execution, discarding the in-flight run).
Status:Idle
Result:
{
"data": {
"deletedUserId": "preloaded-user"
}
}
Stateless Form
Form using useAction + execute to submit FormData directly.
Status:Idle
Result:
{}
State Update via onSuccess
Local state updated through the onSuccess callback when the action completes.