👉 NEW React & Next.js Course: [ Ссылка ]
Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship).
👉 Add authentication to your app FAST: [ Ссылка ]
👉 NEW React & Next.js Course: [ Ссылка ]
👉 Professional JavaScript Course: [ Ссылка ]
👉 Professional CSS Course: [ Ссылка ]
👉 Discord: all my courses have a private Discord where I actively participate
🔔 Email newsletter (BIG update soon): [ Ссылка ]
⏱️ Timestamps:
0:00 Server Action example
1:10 Try Catch
1:58 Client Action
3:22 Refactor to client component
4:44 Show error to user
5:30 Toasts (react-hot-toast)
7:01 Errors with useState
7:45 Get error message
#webdevelopment #programming #coding
![](https://i.ytimg.com/vi/nsMzWA6_3RA/maxresdefault.jpg)