Async Action Form
This example shows an authored async mutation flow instead of just a loading spinner.
useAsyncState(...)owns the authoritative valuepending,error, andreset()stay on the same surface- the component keeps normal JSX structure while the mutation logic stays explicit
What To Notice
- the async mutation is modeled directly, not hidden behind ad hoc booleans
- error and pending state do not need separate hand-rolled state fields
- this is a stronger demo of the runtime surface than a decorative card