Issue with State Reset in Next.js Client Component When Triggering Async Function
I am using Next.js 14, and currently on a client component. This component has a multi-step form. In the final step, I trigger a server action to get a response and return feedback.
The Value of useReducer is not updating when console.logging it in a handleSubmit function
I’m using useReducer
for my Login/Register form.