Skip to content

Conversation

JakeSaterlay
Copy link
Contributor

@JakeSaterlay JakeSaterlay commented Jun 21, 2024

This aims to describe the third item returned in the array when using the useActionState hook isPending.

Closes #6987

Preview: https://react-dev-git-fork-jakesaterlay-useactionst-df91a3-fbopensource.vercel.app/reference/react/useActionState#noun-labs-1201738-(2)

Copy link

vercel bot commented Jun 21, 2024

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

Copy link

github-actions bot commented Jun 21, 2024

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

@juligris
Copy link

juligris commented Jul 7, 2024

Is this going to be added?

@BillyDyball
Copy link

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

This needs to be merged to fix this problem.

@sebastiancarlos
Copy link

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!

@eps1lon eps1lon merged commit 2b2d0f2 into reactjs:main Oct 8, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Suggestion]: Add isPending example to useActionState docs
6 participants