ActionState form

The useActionState() hook can be used to manage form state and provide progressive enhancement.