react.dev
react.dev copied to clipboard
`useActionState` pending example
This aims to describe the third item returned in the array when using the useActionState hook isPending.
https://github.com/reactjs/react.dev/issues/6987
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| 19-react-dev | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 8, 2024 8:54am |
| react-dev | ✅ Ready (Inspect) | Visit Preview | Oct 8, 2024 8:54am |
Size changes
📦 Next.js Bundle Analysis for react-dev
This analysis was generated by the Next.js Bundle Analysis action. 🤖
This PR introduced no changes to the JavaScript bundle! 🙌
Is this going to be added?
usaActionState is talked about in this blog but the docs show an incorrect return type.
This needs to be merged to fix this problem.
This looks great! Just to make sure we're all on the same page, could we get some confirmation from some of the core devs that the isPending prop in useActionState and its documentation here are valid at this point in time? Thanks!