fix: Update docs to useFormStatus for pending#69163
fix: Update docs to useFormStatus for pending#69163timodwhit wants to merge 1 commit intovercel:canaryfrom
Conversation
The third parameter seems to have been removed from useActionState() and requires useFormStatus
|
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
eps1lon
left a comment
There was a problem hiding this comment.
The third parameter seems to have been removed from useActionState()
It is still there. If you're not seeing it, confirm you're on the latest React/Next.js Canary. If you're still not seeing it, please file a bug report.
The current docs describe the desired state and should remain
|
According to the react 19 docs: https://19.react.dev/reference/react/useActionState#useactionstate
Unless, it is somewhere else or do those docs need the PR? |
|
react.dev needs a PR |
The third parameter seems to have been removed from useActionState() and requires useFormStatus