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
Information
- Show
- Published5 July 2023 at 13:20 UTC
- Length42 min
- Episode168
- RatingClean