---
title: useFormStatus
---
`useFormStatus` is a Hook that gives you status information of the last form submission.
```js
const { pending, data, method, action } = useFormStatus();
```
---
## Reference {/*reference*/}
### `useFormStatus()` {/*use-form-status*/}
The `useFormStatus` Hook provides status information of the last form submission.
```js {5},[[1, 6, "status.pending"]]
import { useFormStatus } from "react-dom";
import action from './actions';
function Submit() {
const status = useFormStatus();
return
}
export default function App() {
return (
);
}
```
To get status information, the `Submit` component must be rendered within a `