useFormState
Answered
Porcelaine posted this in #help-forum
PorcelaineOP
'useFormState' is declared but its value is never read.ts(6133)
Module '"react-dom"' has no exported member 'useFormState'.ts(2305)
Module '"react-dom"' has no exported member 'useFormState'.ts(2305)
Answered by Porcelaine
@risky The problem is found. When the next.js version is 14, no error will be reported.
3 Replies
risky
are you using latest
@types/react-dom
? if so you should consider updating it...PorcelaineOP
@risky The problem is found. When the next.js version is 14, no error will be reported.
Answer
risky
they prob updated their min of react-dom i think (thus you downloaded that package)