Chuyển sang chế độ ngoại tuyến với ứng dụng 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 tập
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 tập
Tất cả các tập
×Chào mừng bạn đến với Player FM!
Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.