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: https://github.com/samselikoff/2023-0...
Server Actions docs: https://nextjs.org/docs/app/building-...
🕐 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
In questa pagina del sito puoi guardare il video online Fullstack React Components – with no API della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Sam Selikoff 19 maggio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 13,942 volte e gli è piaciuto 823 spettatori. Buona visione!