useActionState - React's Latest Critical Hook (Next.js + Server Actions)

ByteGrad
ByteGrad
23.6 هزار بار بازدید - 3 ماه پیش - 👉 Check out Semaphor:
👉 Check out Semaphor: https://semaphor.cloud (paid sponsorship)
Disclaimer: this is a sponsored video (paid). It's your responsibility to evaluate safety, accuracy and other relevant parts of the reviewed product.
👉 NEW React & Next.js Course: https://bytegrad.com/courses/professi...

Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship).
👉 Check out Kinde for auth and more https://bit.ly/3QOe1Bh

👉 NEW React & Next.js Course: https://bytegrad.com/courses/professi...
👉 Professional JavaScript Course: https://bytegrad.com/courses/professi...
👉 Professional CSS Course: https://bytegrad.com/courses/professi...

👉 Web development roadmap 2024 & 2025: https://email.bytegrad.com
👉 Email newsletter (BIG update soon): https://email.bytegrad.com
👉 Discord: all my courses have a private Discord

⏱️ Timestamps:
00:00 useActionState quick overview
01:46 Sponsor (Semaphor)
04:27 Server actions explanation
08:08 useActionState with form
11:00 useActionState outside form
14:01 "previousState" parameter
16:39 Recap

#webdevelopment #reactjs #nextjs
3 ماه پیش در تاریخ 1403/03/31 منتشر شده است.
23,675 بـار بازدید شده
... بیشتر