EPISODE · Jul 5, 2023 · 42 MIN
Reusable pending UI for forms with Server Actions
from Frontend First · host Frontend First
Ryan shares his thoughts on how Server Actions and the useFormStatus hook are letting him build reusable pending UI for any form in his Next.js side project. Sam talks about how TypeScript prevents an entire class of data-loading bugs that have plagued single-page applications built with a client-side cache.Topics include:0:00 - Tailwind Connect2:38 - Using TypeScript to prevent data-loading errors19:27 - Building reusable form UI with Server Actions and useFormStatusLinks:Server Actions in Next.jsStyling a Radix Dialog with Tailwind CSS
NOW PLAYING
Reusable pending UI for forms with Server Actions
No transcript for this episode yet
Similar Episodes
No similar episodes found.