useFormState
Answered
Porcelaine posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
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
![Avatar](https://cdn.discordapp.com/avatars/657067112434499595/aff4eeb34922ca980b0d5fbb5bc60c21.webp?size=256)
risky
are you using latest
@types/react-dom
? if so you should consider updating it...![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
PorcelaineOP
@risky The problem is found. When the next.js version is 14, no error will be reported.
Answer
![Avatar](https://cdn.discordapp.com/avatars/657067112434499595/aff4eeb34922ca980b0d5fbb5bc60c21.webp?size=256)
risky
they prob updated their min of react-dom i think (thus you downloaded that package)