useFormState has been replaced by useActionState. The useFormState hook is still available in React 19, but it is deprecated and will be removed in a future release. useActionState is recommended and includes additional properties like reading the pending state directly. Learn more.
useFormStatus now includes additional keys like data, method, and action. If you are not using React 19, only the pending key is available. Learn more.
To make solving #91 easier we should upgrade to NextJS 15. From the upgrade notes: