server function named path
Is it possible to define custom paths in server functions to use it in mobile application?
server routes are great and provide almost same functionality but server routes are not typesafe when they are called from web client using fetch request...
2 Replies
afraid-scarlet•2mo ago
If you are using v1.132.42 or newer, see this:
https://tanstack.com/start/latest/docs/framework/react/guide/server-functions#function-id-generation
Server Functions | TanStack Start React Docs
What are Server Functions? Server functions let you define server-only logic that can be called from anywhere in your application loaders, components, hooks, or other server functions. They run on the...
metropolitan-bronzeOP•2mo ago
thanks