Skip to content
New issue

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

useFormStatus() is not a function #13

Open
lautarosegura opened this issue Oct 25, 2023 · 3 comments
Open

useFormStatus() is not a function #13

lautarosegura opened this issue Oct 25, 2023 · 3 comments

Comments

@lautarosegura
Copy link

Hello, I am getting the following error: useFormStatus() is not a function

It comes from the submit button component. I can import useFormStatus() and TypeScript knows it's a function, but I can not execute it.

@Cborgg
Copy link

Cborgg commented Dec 14, 2023

Hey, were you guys able to resolve this issue? I was having the same problem.

@flip-in
Copy link

flip-in commented Dec 18, 2023

@ByteGrad same issue here.

@flip-in
Copy link

flip-in commented Dec 18, 2023

@Cborgg

try to import it like this

// @ts-ignore
import { experimental_useFormStatus as useFormStatus } from 'react-dom';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants