Reusable pending UI for forms with Server Actions - podcast episode cover

Reusable pending UI for forms with Server Actions

Jul 05, 202342 minEp. 168
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

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 Connect
  • 2:38 - Using TypeScript to prevent data-loading errors
  • 19:27 - Building reusable form UI with Server Actions and useFormStatus

Links:

For the best experience, listen in Metacast app for iOS or Android