react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

`useActionState` pending example

Open JakeSaterlay opened this issue 1 year ago • 4 comments

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

JakeSaterlay avatar Jun 21 '24 18:06 JakeSaterlay

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

vercel[bot] avatar Jun 21 '24 18:06 vercel[bot]

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! 🙌

github-actions[bot] avatar Jun 21 '24 18:06 github-actions[bot]

Is this going to be added?

juligris avatar Jul 07 '24 18:07 juligris

usaActionState is talked about in this blog but the docs show an incorrect return type.

This needs to be merged to fix this problem.

BillyDyball avatar Jul 25 '24 09:07 BillyDyball

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!

sebastiancarlos avatar Oct 05 '24 20:10 sebastiancarlos