We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useActionState
When I search an issue which relevant to useActionState, I found an alike problem on form reference.
https://react.dev/reference/react-dom/components/form#display-a-form-submission-error-without-javascript
There is an error, (0 , _react.useActionState) is not a function or its return value is not iterable.
(0 , _react.useActionState) is not a function or its return value is not iterable
I've checked the code in sandbox, but I have no clue😭
The text was updated successfully, but these errors were encountered:
It is because useActionState hook is not available in this 18.3.0-canary-6db7f4209-20231021 version, as used in the sandbox.
18.3.0-canary-6db7f4209-20231021
Need to update the version from 18.3.0-canary-6db7f4209-20231021 to canary this and it would fix the issue.
canary
eg In this sandbox useActionState hook is very fine without any issue.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Summary
When I search an issue which relevant to useActionState, I found an alike problem on form reference.
Page
https://react.dev/reference/react-dom/components/form#display-a-form-submission-error-without-javascript
Details
There is an error,
(0 , _react.useActionState) is not a function or its return value is not iterable
.Screenshot Image
I've checked the code in sandbox, but I have no clue😭
The text was updated successfully, but these errors were encountered: