Take an early look at how to use Server Actions to build fully reusable full stack components – even ones that accept functions as props!
🔗 LINKS
Code from the video: [ Ссылка ]
Server Actions docs: [ Ссылка ]
🕐 TIMESTAMPS
0:00 – Intro
0:56 – Reusable component + action
4:30 – Exposing an afterSave callback
8:39 – Using revalidatePath instead of redirect
10:34 – Outro
![](https://i.ytimg.com/vi/OAmp3GTfZnU/maxresdefault.jpg)