Here is the little update from react: last time when I checked react the useFormState hook is changed to useActionState react.dev/reference/react/useActionState
@hulk21935 ай бұрын
I usually won't comment to videos, but this video made my life easier, thanks a lot, i was struggling with sending additional parameter to server action, thanks a lot, keep going 🎉🎉
@arjunnayak9088Ай бұрын
rather than bind we can even use hidden fields. And how about the advantages of react hook form where on blue the field is validated. How can we handle that?
@LarryOklahoma8 ай бұрын
this is a great video thank you, 1 thing I am confused about is what if you want to handle the errors on the frontend first see if the user inputs are correct then send it to the backend and revalidate it over there, like that the user doesn't need to wait till the server responds to get the authentication info errors the frontend will validate it for you how can we implement that with server actions.
@fsniraj8 ай бұрын
The thing you are asking about is possible with the traditional React way. You can use useState to store your user info update them with onChange and then use onSubmit instead of action for that you have to create api endpoint where you can submit the form. I don't thing the server action works with this implimentation.
@nanami496848 ай бұрын
I am interested in your full-stack React Native advanced & practical projects course on Udemy. I don't know how to contact you so I write it here. I want to ask whether that course is clean code. Because I am looking for the proper one. I did some projects but it doesn't organized well, and the code was messed up. Thanks
@fsniraj8 ай бұрын
I don't know how can I answer this question but here is the github link of the final project github.com/ndpniraj/resale-expo that we will build inside this course. You can go through the different branches and view my style of writting of code. Hope you will find the answer.
@HelpLord-xb1go8 ай бұрын
I am reaching out to discuss an exciting business proposition regarding your Udemy course. Our aim is to enhance the visibility of your course, increase sales, expand your student audience, and cultivate positive reviews. I am eager to explore potential collaboration opportunities with you to achieve these objectives. Looking forward to the possibility of working together.