skip to Main Content

Javascript – Can't import { useActionState } from 'react' following next.js tutorial, next.js v15.0.0-canary.28, react v19.0.0-rc, types/react v18.2.21

I'm following the next.js tutorial at https://nextjs.org/learn/dashboard-app I've arrived at chapter 14, improving accessibility, at https://nextjs.org/learn/dashboard-app/improving-accessibility At one point in the tutorial, it directs me to import { useActionState } from 'react'; in the /app/ui/invoices/create-form.tsx file. When I do this,…

VIEW QUESTION
Back To Top
Search