Pergi ke luar talian dengan aplikasi Player FM !
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 episod
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 episod
Semua episod
×Selamat datang ke Player FM
Player FM mengimbas laman-laman web bagi podcast berkualiti tinggi untuk anda nikmati sekarang. Ia merupakan aplikasi podcast terbaik dan berfungsi untuk Android, iPhone, dan web. Daftar untuk melaraskan langganan merentasi peranti.