T
TanStack2w ago
flat-fuchsia

Resend with TanStack Start

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?
1 Reply
narrow-beige
narrow-beige2w ago
you can do either one i use server functions just fine

Did you find this page helpful?