Reusable pending UI for forms with Server Actions

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

Links:

  • Server Actions in Next.js
  • Styling a Radix Dialog with Tailwind CSS

To listen to explicit episodes, sign in.

Stay up to date with this show

Sign in or sign up to follow shows, save episodes and get the latest updates.

Select a country or region

Africa, Middle East, and India

Asia Pacific

Europe

Latin America and the Caribbean

The United States and Canada