Remix actions are optional for contact forms
Remix makes server actions easy - and easy to overbuild for a single lead form. FormsReach is the form API: keep building routes and UI, not SMTP glue.
Platform notes
- Named inputs work with the React hook’s FormData path.
- Prefer a shared contact form component imported by marketing routes.
- See the React page for hook return values (
submit,submitting).
Troubleshooting
- submit is not a function: Confirm import from
@formsreach/reactand that the hook runs in a component. - Empty payload: Ensure inputs have
nameattributes. - Double submit: Disable the button with
submitting.