steven-tey / prisma-server-actions

Demo app showing how you can use Prisma in Next.js Server Actions
https://prisma-server-actions.vercel.app
32 stars 1 forks source link

Module '"react-dom"' has no exported member 'experimental_useFormStatus'. #2

Open MincePie opened 1 year ago

MincePie commented 1 year ago

did you figure out how to build this app with this import statement: import { experimental_useFormStatus as useFormStatus } from "react-dom";

I am getting an error - is there a solution to this?

elwyn-de-neve commented 4 months ago

You can now use: import { useFormStatus } from "react-dom";