Interface: ReactAction<Action>
For AI agents: see llms.txt for the complete documentation index. Markdown versions are available by adding .md to a page URL or requesting Accept: text/markdown.
react.ReactAction
An interface to execute a Convex action on the server.
Type parameters
| Name | Type |
|---|---|
Action | extends FunctionReference<"action"> |
Callable
ReactAction
▸ ReactAction(...args): Promise<FunctionReturnType<Action>>
Execute the function on the server, returning a Promise of its return value.
Parameters
| Name | Type | Description |
|---|---|---|
...args | OptionalRestArgs<Action> | Arguments for the function to pass up to the server. |
Returns
Promise<FunctionReturnType<Action>>
The return value of the server-side function call.