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:
199 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:
199 episodes
All episodes
×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.