Next JS Form Validation Using Server Actions

  Рет қаралды 3,129

Full Stack Niraj

Full Stack Niraj

Күн бұрын

Пікірлер
@fsniraj
@fsniraj 5 ай бұрын
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
@hulk2193
@hulk2193 5 ай бұрын
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
@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?
@LarryOklahoma
@LarryOklahoma 8 ай бұрын
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.
@fsniraj
@fsniraj 8 ай бұрын
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.
@nanami49684
@nanami49684 8 ай бұрын
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
@fsniraj
@fsniraj 8 ай бұрын
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-xb1go
@HelpLord-xb1go 8 ай бұрын
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.
Generics in TypeScript Explained Simply (No Jargon!)
12:43
Full Stack Niraj
Рет қаралды 1,8 М.
Why I FAILED to Build EPUB Reader Using React Native
13:40
Full Stack Niraj
Рет қаралды 1 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
React.FC Simplified: Say Goodbye to Confusion
8:19
Full Stack Niraj
Рет қаралды 1,8 М.
Typescript Interface vs Types Aliases - Why it's so Confusing?
9:54
Add to Cart Without Login | Next JS
1:12:11
Full Stack Niraj
Рет қаралды 1 М.
Hardy's Integral
13:47
Michael Penn
Рет қаралды 14 М.
Tools EVERY Software Engineer Should Know
11:37
Tech With Tim
Рет қаралды 22 М.
Next JS 14 File Upload
13:09
Full Stack Niraj
Рет қаралды 4,4 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН