mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
## Overview
Adds a `pending` state to useFormState, which will be replaced by
`useActionState` in the next diff. We will keep `useFormState` around
for backwards compatibility, but functionally it will work the same as
`useActionState`, which has an `isPending` state returned.
DiffTrain build for [17eaacaac1](https://github.com/facebook/react/commit/17eaacaac167addf0c4358b4983f054073a0626d)