June 2024
Creating a Reusable SubmitButton with UseFormStatus
Another article to discover the new useFormStatus hook in React 19, and how to use it to improve your UX with transitions.
Another article to discover the new useFormStatus hook in React 19, and how to use it to improve your UX with transitions.
Great tutorial to learn the new form hooks from React 19. useActionState, useFormStatus, but also useTransition to manage your form with actions.
New month, new astro feature get released.. This time astro introduce server actions. From your SSR or CSR page, you can now build a form and pass on submit an astro server action who will create a new endpoint in your server to validate and execute the function you'll define. A very important piece to manage forms is coming, but only in an experimental mode for now, so don’t use it in production yet.
A comprehensive tutorial on using forms with Next.js. On the agenda: form creation, field validation, error handling, reset, toast messages, server actions.
Conform is a new form management library with Progressive enhancement first APIs, Type-safe field inference, Fine-grained subscription, Built-in accessibility helpers, and Automatic type coercion with Zod. It is compatible with Next / Remix as it supports server Actions. According to early feedback, this library is still experimental but seems quite promising.