useFormState not updating the initialState
Unanswered
Nile Crocodile posted this in #help-forum
Nile CrocodileOP
I have a server action hooked up to a form, I'm using the useFormState hook so I can receive data returned from the action but it's not working. Every other thing about the form and the action works but when I return data from the action, the initialState passed to the useFormState isn't updating as a matter of fact, the form component isn't even re-rendering. I know useFormState is deprecated but shouldn't it still work?
1 Reply
Giant panda
I had the same issue. Did you find a solution for this?