#What's the proper way to submit a form if i have the logic in other route?

1 messages · Page 1 of 1 (latest)

meager sail
#

I have a component with a Form and i want to have a route with a SMTP server, should use useFetcher to execute that?
Also what's the whay of handle error if i use useFetcher?

winter kernel
#

Hey, you can either use useFetcher, or you could point your <Form /> action to the route with the email sending action/loader