Next.js server actions makes coding much easier #shorts

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Your enthusiasm for programming is contagious🌼😍✌. Thank you for sharing your passion with us!

MyCodingDiary
Автор

let's this form was on a modal, and I want to close modal after submit

leomotta
Автор

Your theme is awesome may i know which theme is that ?

batu
Автор

Don’t skip over the “use server” statement. Without that, the action function is useless. It might seem obvious to people with Next.js and React experience but those unfamiliar with it should have a clear explanation of the “why” as well as the “how”.

ragtop
Автор

Problem is displaying form errors to user on bad validation. You can revalidate path but only on submit, so their errors will just stay there even after the data is valid.


Terrible ux

alext
Автор

How would this work with form validation?

asdqwe
Автор

Is there a long form video of this short on your channel?

IanMathaiya
Автор

How to clear input after server action mutation?

indrazm