Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Upload a file with server action in Next.js

83,919 Aufrufe • vor 2 Jahren •via X (Twitter)

8 Kommentare

Profilbild von Krishna Singh
Krishna Singhvor 2 Jahren

Will the server actions form work well with a complex form that has #Zod validations?

Profilbild von Alex Sidorenko
Alex Sidorenkovor 2 Jahren

@singhks0054 Sure, why not

Profilbild von Ram
Ramvor 2 Jahren

Super simple !! thanks for sharing.

Profilbild von AMMARI Abdelmounaim
AMMARI Abdelmounaimvor 2 Jahren

What's the tailwindCSS extension's name !! It looks cool

Profilbild von Arnab Chatterjee
Arnab Chatterjeevor 2 Jahren

I have implemented here

Profilbild von Pablo Lizardo
Pablo Lizardovor 2 Jahren

Can you transcript the commented line? Twitter video compression doesn’t let me read it 😅

Profilbild von SH
SHvor 2 Jahren

make sure to increase the function timeout, otherwise the server action will timeout from the default 10s

Profilbild von Em Ha Tuan
Em Ha Tuanvor 2 Jahren

That is a good example of server action. Otherwise, Vercel does not allow applications to write a file on their platforms. 😀

Ähnliche Videos