TanStackT
TanStack10mo ago
3 replies
safe-amethyst

API routes vs Server Functions

I'm experimenting with Start in a new project and loving it so far.

I'm looking for some guidance on API routes vs Server Functions. When would I choose one vs the other?
Especially given the docs indicate that server functions will have configurable URLs in the future

I suspect validation may be the answer that seems built-in with functions but maybe not routes?
Was this page helpful?