👉 Check out Semaphor: [ Ссылка ] (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: [ Ссылка ]
Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship).
👉 Check out Kinde for auth and more [ Ссылка ]
👉 NEW React & Next.js Course: [ Ссылка ]
👉 Professional JavaScript Course: [ Ссылка ]
👉 Professional CSS Course: [ Ссылка ]
👉 Web development roadmap 2024 & 2025: [ Ссылка ]
👉 Email newsletter (BIG update soon): [ Ссылка ]
👉 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
![](https://i.ytimg.com/vi/GgyP0_b-WPY/maxresdefault.jpg)