Server Functions
Server Functions are TanStack Start's server-side RPCs. They run on the server but can be called from loaders, components, hooks, event handlers, and other server functions.
Basic Form
Input Validation
Use schema validation in production and never trust client input.
GET vs POST
Server functions are same-origin RPCs. Use Server Routes for public APIs and webhooks.