#Resend with TanStack Start

2 messages · Page 1 of 1 (latest)

hazy flare
#

How can I use resend with tanstack start?
In their docs, they have next js integration

Send email using React
Create an API file under pages/api/send.ts if you’re using the Pages Router or create a route file under app/api/send/route.ts if you’re using the App Router.
Import the React email template and send an email using the react parameter.

With tanstack, do I implement it using api routes or server functions?

gaunt tiger
#

you can do either one