Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Upload a file with server action in Next.js

83,919 görüntüleme • 2 yıl önce •via X (Twitter)

8 Yorum

Krishna Singh profil fotoğrafı
Krishna Singh2 yıl önce

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

Alex Sidorenko profil fotoğrafı
Alex Sidorenko2 yıl önce

@singhks0054 Sure, why not

Ram profil fotoğrafı
Ram2 yıl önce

Super simple !! thanks for sharing.

AMMARI Abdelmounaim profil fotoğrafı
AMMARI Abdelmounaim2 yıl önce

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

Arnab Chatterjee profil fotoğrafı
Arnab Chatterjee2 yıl önce

I have implemented here

Pablo Lizardo profil fotoğrafı
Pablo Lizardo2 yıl önce

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

SH profil fotoğrafı
SH2 yıl önce

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

Em Ha Tuan profil fotoğrafı
Em Ha Tuan2 yıl önce

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

Benzer Videolar