### Summary When I search an issue which relevant to [useActionState](https://react.dev/reference/react/useActionState), I found an alike problem on [form reference](https://react.dev/reference/react-dom/components/form). ### 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😭
Activity
includerajat commentedon May 10, 2024
It is because
useActionStatehook is not available in this18.3.0-canary-6db7f4209-20231021version, as used in the sandbox.Need to update the version from
18.3.0-canary-6db7f4209-20231021tocanarythis and it would fix the issue.eg In this sandbox
useActionStatehook is very fine without any issue.