useActionResult
A hook to retrieve the result of the action. Use this in a route component of a route with an action prop.
import { useActionResult } from 'react-sprout';
let actionResult = useActionResult();
- Name
actionResult
- Type
- any
- Description
The result of the action