- ๐ซฃ AFAICT, you can't trust the value here and it needs to be validated alongside `formData`
- ๐ It needs to be the same type as the return type of the action, which makes inference circular
- ๐ฉ the React docs need a troubleshooting section to explain it's there (
react.dev/reference/react-doโฆ), it should be a red flag that the API could be tweaked
- ๐งฉ The arguments change depending on how you call it. This sorta goes against the "React way of thinking" that things are an independent "lego piece" that you can drop anywhere
- ๐ The state in `useFormState(action, initialState)` gets serialized and passed between server<->client which to me just adds unnecessary payload
- โน๏ธ If you need to pass additional context with form data, you can add a `<input type="hidden" />`, I don't see why React needs to provide this