Go offline with the Player FM app!
Reusable pending UI for forms with Server Actions
Manage episode 367926996 series 1635850
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:
201 episodes
Manage episode 367926996 series 1635850
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:
201 episodes
All episodes
×
1 Creating a background gradient from an image 48:39

1 Cloudflare Tunnel | React Compiler | refs during render 42:46

1 useAnimatedText | Events vs. State Changes | Catalyst 1:08:19

1 Crossover: Declaring War Against the Frontend 59:17

1 Blog Post Club: Queueing - An interactive study of queueing strategies 46:27
Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.