Thanks for your work :) One question, React 19 will replace the useFormState with useFormAction hook (React-dom), but I don't know why they do this. useFormAction() do the same as useFormState(). Or am I wrong here? Sorry for the off-topic :)
I think the new function is called useActionState The reason for this change is that `useActionState` is more versatile and not limited to just form submissions. It can be used with any action, whether it's triggered by a form or not. This aligns with React's move towards a more general "Actions" concept rather than being form-specific.
Great as always, please design Next project and during coding teach us the bad practices lead to unhandled errors
Great suggestion! I will take a Look on it
@@tobitacklestech I will remember you of your promise ☺️☺️
Very helpful content 🤙What kind of screen-recording tool you are using?
I use screen studio 😎
Thanks for your work :)
One question, React 19 will replace the useFormState with useFormAction hook (React-dom), but I don't know why they do this. useFormAction() do the same as useFormState(). Or am I wrong here? Sorry for the off-topic :)
I think the new function is called useActionState
The reason for this change is that `useActionState` is more versatile and not limited to just form submissions. It can be used with any action, whether it's triggered by a form or not. This aligns with React's move towards a more general "Actions" concept rather than being form-specific.
what about next/form in next 15?
The new Form Component has some great benefits, maybe I will make a video about it!